Skip to content

Commit 678a68d

Browse files
authored
Merge pull request #1301 from cam72cam/fix_mast_cloud_functions
Fix MAST Cloud functions
2 parents 6bb628b + 86cf0b8 commit 678a68d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/mast/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ def disable_cloud_dataset(self):
15351535

15361536
@deprecated(since="v0.3.9", alternative="get_cloud_uris")
15371537
def get_hst_s3_uris(self, dataProducts, includeBucket=True, fullUrl=False):
1538-
return self.get_cloud_uris(self, dataproducts, includeBucket, fullUrl)
1538+
return self.get_cloud_uris(dataProducts, includeBucket, fullUrl)
15391539

15401540
def get_cloud_uris(self, dataProducts, includeBucket=True, fullUrl=False):
15411541
""" Takes an `astropy.table.Table` of data products and turns them into s3 uris. """
@@ -1544,7 +1544,7 @@ def get_cloud_uris(self, dataProducts, includeBucket=True, fullUrl=False):
15441544

15451545
@deprecated(since="v0.3.9", alternative="get_cloud_uri")
15461546
def get_hst_s3_uri(self, dataProduct, includeBucket=True, fullUrl=False):
1547-
return self.get_cloud_uri(self, dataProduct, includeBucket, fullUrl)
1547+
return self.get_cloud_uri(dataProduct, includeBucket, fullUrl)
15481548

15491549
def get_cloud_uri(self, dataProduct, includeBucket=True, fullUrl=False):
15501550
""" Turns a dataProduct into a S3 URI """

0 commit comments

Comments
 (0)