def atomic_input_subset(self, subset):
    ''' Return a view of the dag with only the subset remaining, where
    dependent input pairs remain together'''
    # Relatively simple: expand atomic pairs into individual inputs, take
    # all input events in result, and compute_remaining_input_events as normal
    subset = self._expand_atomics(subset)
    ignored = set(subset) - self._events_set
    ignored = self._ignored_except_internals(ignored)
    remaining_events = self.compute_remaining_input_events(ignored)
    return EventDagView(self, remaining_events)
dataset/ETHPy150Open ucb-sts/sts/sts/event_dag.py/EventDag.atomic_input_subset/swapped operands of `-`