afnio.tellurio.run_context
afnio.tellurio.run_context.set_active_run(run)
Sets the active Run globally.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
run
|
Run
|
The Run instance to set as active. |
required |
Source code in afnio/tellurio/run_context.py
11 12 13 14 15 16 17 18 | |
afnio.tellurio.run_context.get_active_run()
Gets the active Run.
If no active Run is set, it raises an exception.
Returns:
| Type | Description |
|---|---|
Run
|
The currently active Run instance. |
Source code in afnio/tellurio/run_context.py
21 22 23 24 25 26 27 28 29 30 31 32 | |