Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 1, 2024
1 parent a941786 commit a794de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intake_esm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def search(
if derivedcat_results:
# Merge results from the main and the derived catalogs
esmcat_results = pd.concat([esmcat_results, *derivedcat_results])
esmcat_results = (esmcat_results[~esmcat_results.astype(str).duplicated()])
esmcat_results = esmcat_results[~esmcat_results.astype(str).duplicated()]

cat = self.__class__({'esmcat': self.esmcat.dict(), 'df': esmcat_results})
cat.esmcat.catalog_file = None # Don't save the catalog file
Expand Down

0 comments on commit a794de7

Please sign in to comment.