Skip to content

Commit

Permalink
updating comments in observations.py to reference ObservationsClass._…
Browse files Browse the repository at this point in the history
…caom_filtered_position
  • Loading branch information
jaymedina committed Jan 26, 2022
1 parent e06a201 commit 2a18971
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astroquery/mast/observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _parse_caom_criteria(self, **criteria):
# if radius is just a number we assume degrees
radius = coord.Angle(radius, u.deg)

# build the coordinates string needed by Mast.Caom.Filtered.Position
# build the coordinates string needed by ObservationsClass._caom_filtered_position
position = ', '.join([str(x) for x in (coordinates.ra.deg, coordinates.dec.deg, radius.deg)])

return position, mashup_filters
Expand Down Expand Up @@ -327,7 +327,7 @@ def query_region_count(self, coordinates, radius=0.2*u.deg, pagesize=None, page=
response : int
"""

# build the coordinates string needed by Mast.Caom.Filtered.Position
# build the coordinates string needed by ObservationsClass._caom_filtered_position
coordinates = commons.parse_coordinates(coordinates)

# if radius is just a number we assume degrees
Expand Down

0 comments on commit 2a18971

Please sign in to comment.