Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Sep 12, 2023
1 parent 47883b5 commit 5035d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxoniumtools/src/taxoniumtools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def read_metadata(metadata_file, columns, key_column):
metadata.set_index(key_column, inplace=True)
# convert metadata to dict of rows
if not metadata.index.is_unique:
print(
raise ValueError(
f"Error: The key column '{key_column}' contains non-unique values in the metadata file."
)

Expand Down

0 comments on commit 5035d49

Please sign in to comment.