Skip to content

Commit 22b5800

Browse files
committed
remove bad smuggled-in code snippet in ALMA - it snuck into another commit that I could amend, but we can just squash it out later
1 parent 29dcd3d commit 22b5800

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

astroquery/alma/core.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,6 @@ def _get_dataarchive_url(self):
770770
return self.dataarchive_url
771771

772772
def get_data_info(self, uids, *, expand_tarfiles=False,
773-
cutouts=True,
774773
with_auxiliary=True, with_rawdata=True):
775774
"""
776775
Return information about the data associated with ALMA uid(s)
@@ -849,9 +848,8 @@ def get_data_info(self, uids, *, expand_tarfiles=False,
849848
recursive_access_url = self.get_adhoc_service_access_url(adhoc_service)
850849
file_id = recursive_access_url.split('ID=')[1]
851850
expanded_tar = self.get_data_info(file_id)
852-
if not cutouts:
853-
expanded_tar = expanded_tar[
854-
expanded_tar['semantics'] != '#cutout']
851+
expanded_tar = expanded_tar[
852+
expanded_tar['semantics'] != '#cutout']
855853
if not expanded_result:
856854
expanded_result = expanded_tar
857855
else:

0 commit comments

Comments
 (0)