diff --git a/mupt/mupr/primitives.py b/mupt/mupr/primitives.py index 90c65092..87c58804 100644 --- a/mupt/mupr/primitives.py +++ b/mupt/mupr/primitives.py @@ -880,7 +880,6 @@ def set_connectivity_from_topology( # Resolution shift methods - ## TODO: make out-of-place versions of these methods (via optional_in_place for a start)? def check_self_consistent(self) -> None: ''' Check sufficient conditions for whether the children of this Primitive, their @@ -914,6 +913,8 @@ def contract( # if not target_labels.issubset(self.unique_child_labels): # raise ValueError('Child Primitives labels chosen for contraction are not a proper subset of the children actually present') + # TODO: add out-of-place version of contract (once contract() is implemented) + @property def expandable_children(self) -> set[PrimitiveHandle]: '''Set of all children (referenced by handle) which are capable of being expanded, ie. replaced with the hierarchy of their children'''