Skip to content

Commit

Permalink
reg: iterate over feature list
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller authored Jan 25, 2024
1 parent 64f87a7 commit e8a7688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dclab/rtdc_dataset/copier.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def rtdc_copy(src_h5file: h5py.Group,
elif features == "all":
feature_iter = list(src_h5file["events"])
elif features == "scalar":
feature_iter = [feat for feat in features
feature_iter = [feat for feat in src_h5file["events"]
if feature_exists(feat, scalar_only=True)]
elif features == "none":
feature_iter = []

Check warning on line 85 in dclab/rtdc_dataset/copier.py

View check run for this annotation

Codecov / codecov/patch

dclab/rtdc_dataset/copier.py#L84-L85

Added lines #L84 - L85 were not covered by tests
Expand Down

0 comments on commit e8a7688

Please sign in to comment.