Exemplo n.º 1
0
def compute(calculation_name=None,autoreload=True):

	"""
	Open the workspace, parse a YAML script with instructions, save, and exit.
	Note that we may specify a particular calculation if there are many pending calculations.
	"""

	from base.workspace import Workspace
	workspace = unpacker(conf_paths)['workspace_spot']
	work = Workspace(workspace,autoreload=autoreload)
	work.action(calculation_name=calculation_name)
	work.save()