BioSimSpace._Utils._module_stub¶
- BioSimSpace._Utils._module_stub(name: str, install_command: str = None)[source]¶
Return a ModuleStub that will raise a ModuleNotFoundError if it is used in any way.
- Parameters:
name (str) – The name of the module being stubbed
install_command (str (optional)) – The command used to install the module. If this is not supplied, then it is assumed to be ‘conda install {name}’
- Returns:
module – The stubbed module
- Return type:
_ModuleStub