Skip to content

Commit 33ec4fe

Browse files
committed
Remove outdated assertion
1 parent 9447cd1 commit 33ec4fe

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pycellin/classes/feature.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ def _get_units_per_features(self) -> dict[str, list[str]]:
774774
"""
775775
units = {} # type: dict[str, list[str]]
776776
for feat in self.feats_dict.values():
777-
assert feat.unit is not None
778777
if feat.unit in units:
779778
units[feat.unit].append(feat.name)
780779
else:

0 commit comments

Comments
 (0)