Skip to content

Cannot compare float and str #6

@cesaSalaam

Description

@cesaSalaam

In the pre_gcm.py file, on line 49 that says
if 3 < l1len <= 100 and 3 < l2len <= 100 and pfms_score <= max_pfms:

this will produce an error because you are comparing a float (the pfms_score) and a str (max_pfms). Should convert max_pfms to float so that comparison can work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions