Skip to content

Commit

Permalink
Merge pull request #3074 from snbianco/ASB-18099-remove-dupes-log
Browse files Browse the repository at this point in the history
INFO message when removing duplicate products should give the correct number of products based on filters
  • Loading branch information
bsipocz committed Jul 25, 2024
2 parents 91d160f + c7fa81c commit e0731e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions astroquery/mast/observations.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,12 +740,12 @@ def download_products(self, products, *, download_dir=None, flat=False,

products = vstack(product_lists)

# Remove duplicate products
products = self._remove_duplicate_products(products)

# apply filters
products = self.filter_products(products, mrp_only=mrp_only, **filters)

# remove duplicate products
products = self._remove_duplicate_products(products)

if not len(products):
warnings.warn("No products to download.", NoResultsWarning)
return
Expand Down

0 comments on commit e0731e7

Please sign in to comment.