Skip to content

Commit

Permalink
🖊️ improve duplicated feature names error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdd committed Jul 8, 2024
1 parent 4dada32 commit c05ca2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsflex/features/feature_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _add_feature(self, feature: FeatureDescriptor) -> None:
assert not any(
output_name in added_output_names
for output_name in feature.function.output_names
)
), f"Feature with output name(s) {feature.function.output_names} duplicated"
self._feature_desc_dict[series_win_stride_key].append(feature)
else:
self._feature_desc_dict[series_win_stride_key] = [feature]
Expand Down

0 comments on commit c05ca2a

Please sign in to comment.