pyPENELOPE

control – Control execution, loading, deleting of simulations

Inheritance diagram of penelopetools.gui.control

class penelopetools.gui.control.RunnerHook(sim, parent, handlers)

Bases: penelopetools.api.runner.hook.Hook

after_run(runner, returncode)
class penelopetools.gui.control.SimulationController(parent)

Bases: misctools.hook.Hookable

add(sim)
contains(sim=None, filepath=None)
delete(sim)
get_simulations(program=None)

Returns the loaded simulations. If program is specified, only the simulation using the specified program will be returned.

has_simulations()
is_running()
reload(sim)
resume(sim)
start(sim)
stop()