afnio.tellurio.run_context#

Functions

get_active_run()

Gets the active run.

set_active_run(run)

Sets the active run globally.

afnio.tellurio.run_context.get_active_run()[source]#

Gets the active run. If no active run is set, it raises an exception.

Returns:

The currently active Run instance.

Return type:

Run

afnio.tellurio.run_context.set_active_run(run)[source]#

Sets the active run globally.

Parameters:

run (Run) – The Run instance to set as active.