From 47883b599555f8cfa01e5b9fc4b95213003717f6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 22:59:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taxoniumtools/src/taxoniumtools/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/taxoniumtools/src/taxoniumtools/utils.py b/taxoniumtools/src/taxoniumtools/utils.py index 0a92c75d..344e28a4 100644 --- a/taxoniumtools/src/taxoniumtools/utils.py +++ b/taxoniumtools/src/taxoniumtools/utils.py @@ -28,7 +28,9 @@ 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(f"Error: The key column '{key_column}' contains non-unique values in the metadata file.") + print( + f"Error: The key column '{key_column}' contains non-unique values in the metadata file." + ) metadata_dict = metadata.to_dict("index") metadata_cols = metadata.columns