Skip to content

[MNT] Move import warnings to module level and add AMINO_ACIDS to __all__ in _pseaac_utils.py #673

Description

@Ramrajnagar

Two minor code quality issues in pyaptamer/utils/_pseaac_utils.py:

  1. import warnings inside function body: The import is placed inside clean_protein_seq() rather than at the module top level. PEP 8 recommends top-level imports.

  2. AMINO_ACIDS missing from all: The constant is imported by other modules but is not listed in all.

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