vivarium.processes.template_process module

class vivarium.processes.template_process.Template(initial_parameters=None)[source]

Bases: vivarium.core.process.Process

This mock process provides a basic template that can be used for a new process

defaults = {'parameter_1': {}}
derivers()[source]

declare which derivers are needed for this process

name = 'template'
next_update(timestep, states)[source]
ports_schema()[source]

ports_schema returns a dictionary that declares how each state will behave. Each key can be assigned settings for the schema_keys declared in Store:

‘_default’ ‘_updater’ ‘_divider’ ‘_value’ ‘_properties’ ‘_emit’ ‘_serializer’

vivarium.processes.template_process.run_template_process(out_dir='out')[source]