runtraj.stages.get_stage#

runtraj.stages.get_stage(path)[source]#

Return the stage whose class is at the import path path, made with no arguments.

Raises:
  • MissingClass – If the class cannot be imported on this machine.

  • ValueError – If path is not an import path, or the class is not a stage: it lacks a member of Stage, or its name, suffix or config_class cannot be used.

Return type:

Stage

Parameters:

path (str)