Skip to content

query_equ() ignores frame argument #66

@fcotizelati

Description

@fcotizelati

query_equ() in dustmaps/map_base.py accepts and validates a frame argument, but then always builds a SkyCoord with frame='icrs'. This means non-ICRS queries silently return incorrect coordinates.

A simple fix is to pass the validated frame argument through to SkyCoord instead of hard-coding ICRS instead of hard-coding ICRS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions