Skip to content

Invalid escape sequence warnings #391

@mtiberti

Description

@mtiberti

when running mavisp, we have SyntaxWarning errors; we should fix these before the syntax we use if fully deprecated

/data/user/teo/devel/MAVISp/mavisp/modules.py:895: SyntaxWarning: invalid escape sequence '\('
  slim_pattern = re.compile('.* \((CLV|DEG|DOC|LIG|MOD|TRG)_[A-Za-z0-9_-]+\), [0-9]+-[0-9]+, (ggetELM|ELM)')
/data/user/teo/devel/MAVISp/mavisp/modules.py:1272: SyntaxWarning: invalid escape sequence '\.'
  manual_pattern = 'Manual annotations from (.+)\..+'
/data/user/teo/devel/MAVISp/mavisp/modules.py:1374: SyntaxWarning: invalid escape sequence '\('
  mutation_pattern = re.compile('\(p\.([A-Z][a-z]{2}[0-9]+[A-Z][a-z]{2})\)')
/data/user/teo/devel/MAVISp/mavisp/modules.py:2014: SyntaxWarning: invalid escape sequence '\.'
  hgvsp_regexp = "p\.[A-Z][a-z][a-z][0-9]+[A-Z][a-z][a-z]"

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