Skip to content

Commit ffebbf0

Browse files
committed
removing unecessary assert
1 parent 6f09dbd commit ffebbf0

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • src/graphnet/models/data_representation/graphs/nodes

src/graphnet/models/data_representation/graphs/nodes/nodes.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,6 @@ def __init__(
546546
self._time_after_charge_pct = time_after_charge_pct
547547
self._add_counts = add_counts
548548

549-
# check for correct features
550-
if input_feature_names is not None:
551-
assert set(input_feature_names) == set(
552-
cluster_on + [charge_label, time_label]
553-
), f"Input feature names do not match: {input_feature_names}"
554549
# Base class constructor
555550
super().__init__(input_feature_names=input_feature_names)
556551

0 commit comments

Comments
 (0)