Skip to content

Commit 20fff66

Browse files
committed
Make list of missions lists instead of dict_keys
1 parent 9cb0b92 commit 20fff66

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

astroquery/esasky/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,25 +197,25 @@ def list_maps(self):
197197
"""
198198
Get a list of the mission names of the available observations in ESASky
199199
"""
200-
return self._get_observation_info().keys()
200+
return list(self._get_observation_info().keys())
201201

202202
def list_catalogs(self):
203203
"""
204204
Get a list of the mission names of the available catalogs in ESASky
205205
"""
206-
return self._get_catalogs_info().keys()
206+
return list(self._get_catalogs_info().keys())
207207

208208
def list_spectra(self):
209209
"""
210210
Get a list of the mission names of the available spectra in ESASky
211211
"""
212-
return self._get_spectra_info().keys()
212+
return list(self._get_spectra_info().keys())
213213

214214
def list_sso(self):
215215
"""
216216
Get a list of the mission names of the available observations with SSO crossmatch in ESASky
217217
"""
218-
return self._get_sso_info().keys()
218+
return list(self._get_sso_info().keys())
219219

220220
def query_object_maps(self, position, missions=__ALL_STRING, get_query_payload=False, cache=True,
221221
row_limit=DEFAULT_ROW_LIMIT, verbose=False):

0 commit comments

Comments
 (0)