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.
query_equ()industmaps/map_base.pyaccepts and validates aframeargument, but then always builds aSkyCoordwithframe='icrs'. This means non-ICRS queries silently return incorrect coordinates.A simple fix is to pass the validated
frameargument through toSkyCoordinstead of hard-coding ICRS instead of hard-coding ICRS.