@@ -158,13 +158,13 @@ def _parse_caom_criteria(self, **criteria):
158
158
# Build the mashup filter object and store it in the correct service_name entry
159
159
if coordinates or objectname :
160
160
mashup_filters = self ._portal_api_connection .build_filter_set (self ._caom_cone ,
161
- self ._caom_filtered_position ,
162
- ** criteria )
161
+ self ._caom_filtered_position ,
162
+ ** criteria )
163
163
coordinates = utils .parse_input_location (coordinates , objectname )
164
164
else :
165
165
mashup_filters = self ._portal_api_connection .build_filter_set (self ._caom_cone ,
166
- self ._caom_filtered ,
167
- ** criteria )
166
+ self ._caom_filtered ,
167
+ ** criteria )
168
168
169
169
# handle position info (if any)
170
170
position = None
@@ -173,7 +173,7 @@ def _parse_caom_criteria(self, **criteria):
173
173
# if radius is just a number we assume degrees
174
174
radius = coord .Angle (radius , u .deg )
175
175
176
- # build the coordinates string needed by Mast.Caom.Filtered.Position
176
+ # build the coordinates string needed by ObservationsClass._caom_filtered_position
177
177
position = ', ' .join ([str (x ) for x in (coordinates .ra .deg , coordinates .dec .deg , radius .deg )])
178
178
179
179
return position , mashup_filters
@@ -327,7 +327,7 @@ def query_region_count(self, coordinates, radius=0.2*u.deg, pagesize=None, page=
327
327
response : int
328
328
"""
329
329
330
- # build the coordinates string needed by Mast.Caom.Filtered.Position
330
+ # build the coordinates string needed by ObservationsClass._caom_filtered_position
331
331
coordinates = commons .parse_coordinates (coordinates )
332
332
333
333
# if radius is just a number we assume degrees
0 commit comments