Skip to content

Commit

Permalink
retrieve_data handles datasets as astropy.table.column
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmcloaiza committed Feb 5, 2025
1 parent b0546b6 commit a56aa39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astroquery/eso/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ def retrieve_data(self, datasets, *, continuation=False, destination=None,
if isinstance(datasets, str):
return_string = True
datasets = [datasets]
if isinstance(datasets, astropy.table.column.Column):
datasets = list(datasets)

Check warning on line 772 in astroquery/eso/core.py

View check run for this annotation

Codecov / codecov/patch

astroquery/eso/core.py#L772

Added line #L772 was not covered by tests

if with_calib and with_calib not in ('raw', 'processed'):
raise ValueError("Invalid value for 'with_calib'. "
Expand Down

0 comments on commit a56aa39

Please sign in to comment.