Skip to content

Commit

Permalink
fix: remove duplicate except line
Browse files Browse the repository at this point in the history
  • Loading branch information
strixy16 committed Dec 17, 2024
1 parent 5dbfc73 commit 87e562e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readii/io/loaders/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87e562e

Please sign in to comment.