File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 40
40
from . import conf , utils
41
41
from .core import MastQueryWithLogin
42
42
43
+ import astroquery
43
44
44
45
__all__ = ['Observations' , 'ObservationsClass' ,
45
46
'MastClass' , 'Mast' ]
@@ -91,7 +92,7 @@ def list_missions(self):
91
92
"""
92
93
93
94
# calling `service` variable
94
- service = ObservationsClass .caom_all
95
+ service = Observations .caom_all
95
96
96
97
# getting all the histogram information
97
98
params = {}
@@ -107,6 +108,7 @@ def list_missions(self):
107
108
missions .remove ('hist' )
108
109
return missions
109
110
111
+
110
112
def get_metadata (self , query_type ):
111
113
"""
112
114
Returns metadata about the requested query type.
@@ -164,7 +166,7 @@ def _parse_caom_criteria(self, **criteria):
164
166
# Build the mashup filter object and store it in the correct service_name entry
165
167
if coordinates or objectname :
166
168
mashup_filters = self ._portal_api_connection .build_filter_set (ObservationsClass .caom_cone ,
167
- ObservationsClass .caom_filtercaom_filtered_position ,
169
+ ObservationsClass .caom_filtered_position ,
168
170
** criteria )
169
171
coordinates = utils .parse_input_location (coordinates , objectname )
170
172
else :
You can’t perform that action at this time.
0 commit comments