Skip to content

Commit a1beaaf

Browse files
committed
comment about fixed representation
1 parent 714e6fd commit a1beaaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

astroquery/heasarc/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ def query_region_async(self, position: Union[coordinates.SkyCoord, str],
169169
kwargs['equinox'] = 2000
170170

171171
# Generate the request
172+
# Fixed string representation of coordinates ensures that request payload
173+
# does not depend on python/astropy version for the same input coordinates
172174
request_payload = self._args_to_payload(
173175
mission=mission,
174176
entry=f"{c.ra.degree:.10f},{c.dec.degree:.10f}",

0 commit comments

Comments
 (0)