hutch_python.exp_load.get_exp_objs¶
- hutch_python.exp_load.get_exp_objs(exp_module, *, ask_on_failure=True)¶
- Load the correct experiment module. - This will import User from - experiments.{exp_module}and create- User(), storing it as- x.- Parameters
- exp_module ( - str) – The name of the experiment from the elog, without the hutch. This will be the name of the module loaded from the experiments folder.
- ask_on_failure (bool, optional) – If a module fails to load, indicate what happened and ask the user if loading should continue. 
 
- Returns
- user – Either the user’s class instantiated or a blank namespace for other experiment-specific objects to be attached to. 
- Return type
- objector- HelpfulNamespace