code: def _choose_step(self, name, node):
      node_quals = self._node_quals(name, node)
      for step in self.steps:
          if step.quals & node_quals:
              return step
      raise Exception(
          "Test %s doesn't have a match for step %s in graph %s"
          % (self.test, name, self.graphspec["name"])
      )
  
file_path: metaflow/test/core/metaflow_test/formatter.py
imports: import sys
  import inspect
label_desc: Use image node_id 5 for calling the FlowFormatter obj's underlying member method code with example usage: obj._choose_step(name, node) and returns: step