ronswanson.utils.configuration module
- class ronswanson.utils.configuration.Logging(on: bool = True, level: str = 'WARNING')[source]
Bases:
object
- on: bool = True
- level: str = 'WARNING'
- __init__(on: bool = True, level: str = 'WARNING') None
- class ronswanson.utils.configuration.SLURM(user_email: str = 'user@email.com', modules: Union[List[str], NoneType] = None, mpi_modules: Union[List[str], NoneType] = None, python: str = 'python', store_dir: Union[str, NoneType] = None)[source]
Bases:
object
- user_email: str = 'user@email.com'
- modules: Optional[List[str]] = None
- mpi_modules: Optional[List[str]] = None
- python: str = 'python'
- store_dir: Optional[str] = None
- __init__(user_email: str = 'user@email.com', modules: Optional[List[str]] = None, mpi_modules: Optional[List[str]] = None, python: str = 'python', store_dir: Optional[str] = None) None
- class ronswanson.utils.configuration.RonSwansonConfig(logging: ronswanson.utils.configuration.Logging = Logging(on=True, level='WARNING'), slurm: ronswanson.utils.configuration.SLURM = SLURM(user_email='user@email.com', modules=None, mpi_modules=None, python='python', store_dir=None))[source]
Bases:
object