Skip to content

script_utils.py SyntaxWarning #569

@tonykew

Description

@tonykew

I'm getting an error in script_utils.py:

openfold/utils/script_utils.py:153: SyntaxWarning: invalid escape sequence '\W'
  tags = [re.split('\W| \|', t)[0] for t in tags]

I believe this is the fix:

  tags = [re.split(r'\W| \|', t)[0] for t in tags]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions