Interface Utility Functions
The functions defined here are used to support the interactive and command-line
interfaces for vivarium
.
- vivarium.interface.utilities.run_from_ipython()[source]
Taken from https://stackoverflow.com/questions/5376837/how-can-i-do-an-if-run-from-ipython-test-in-python
- Return type:
- vivarium.interface.utilities.log_progress(sequence, every=None, size=None, name='Items')[source]
Taken from https://github.com/alexanderkuk/log-progress
- exception vivarium.interface.utilities.InteractiveError[source]
Error raised when the Interactive context is in an inconsistent state.
- vivarium.interface.utilities.get_output_model_name_string(artifact_path, model_spec_path)[source]
Find a good string to use as model name in output path creation.