Skip to content

Remove dependencies on PypeIt-specific classes in core #2028

@tbowers7

Description

@tbowers7

This has been discussed before, just can't find where.

Functions in the pypeit.core modules should not have dependencies on any PypeIt-specific classes (e.g., SpecObjs). Not only does this relate to any future AstroPy integration, but it specifically causes issues when adding type hints to functions in core due to circular imports.

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