Skip to content

Commit 86cf0b8

Browse files
cam72cambsipocz
authored andcommitted
Fix MAST Cloud functions
1 parent d0dbd45 commit 86cf0b8

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
@@ -1532,7 +1532,7 @@ def disable_cloud_dataset(self):
15321532

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

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

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

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

0 commit comments

Comments
 (0)