Skip to content

Commit b5ecc2b

Browse files
committed
removing more asserts
1 parent ffebbf0 commit b5ecc2b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,6 @@ def _construct_nodes(self, x: torch.Tensor) -> Data:
645645

646646
def set_indeces(self, feature_names: List[str]) -> None:
647647
"""Set the indices for the input features."""
648-
assert set(feature_names) == set(
649-
self._cluster_on + [self._charge_label, self._time_label]
650-
), f"Input feature names do not match: {feature_names}"
651648
self._cluster_idx = [
652649
feature_names.index(column) for column in self._cluster_on
653650
]

0 commit comments

Comments
 (0)