Skip to content

Exact duplicates always calculated #226

@smttsp

Description

@smttsp

if SETS not in imagelab_info.get(IssueType.EXACT_DUPLICATES.value, {}):

I was trying to get near duplicates only but the code calculates exact duplicates too. I am not sure if it is required but the following lines seem to have a problem.

SETS = "sets"
...
        if SETS not in imagelab_info.get(IssueType.EXACT_DUPLICATES.value, {}):
            to_compute.append(IssueType.EXACT_DUPLICATES.value)

So, the code always adds the exact_duplicates to to_compute list whenever this function is called. Is this the goal for the function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions