From 87e562eaf2103721a343036086c72e17b1d9d476 Mon Sep 17 00:00:00 2001 From: Katy Scott Date: Tue, 17 Dec 2024 12:38:33 -0500 Subject: [PATCH] fix: remove duplicate except line --- src/readii/io/loaders/features.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/readii/io/loaders/features.py b/src/readii/io/loaders/features.py index d227e6d..d51247d 100644 --- a/src/readii/io/loaders/features.py +++ b/src/readii/io/loaders/features.py @@ -89,7 +89,7 @@ def loadFeatureFilesFromImageTypes(extracted_feature_dir:Union[Path|str], # noqa if drop_labels: # Data is now only extracted features raw_feature_data.drop(labels_to_drop, axis=1, inplace=True) - except KeyError: + except KeyError: logger.warning(f"{feature_file_path} does not have the labels {labels_to_drop} to drop.") # Skip to the next image type