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 Feb 7, 2024
1 parent 5ba857c commit 1725938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filefinder/_filefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def find(self, keys=None, *, _allow_empty=False, **keys_kwargs):
len_all = len(fc.df)
len_unique = len(fc.combine_by_key().unique())

#msg = "This query leads to non-unique metadata. Please adjust your query."
# msg = "This query leads to non-unique metadata. Please adjust your query."
if len_all != len_unique:
duplicated = fc.df[fc.df.duplicated()]
msg = f"This query leads to non-unique metadata. Please adjust your query.\n Head of duplicates: \n {duplicated.head()}"
Expand Down

0 comments on commit 1725938

Please sign in to comment.