paws.core package

Subpackages

Submodules

paws.core.pawstools module

exception paws.core.pawstools.OperationDisabledError[source]

Bases: exceptions.Exception

exception paws.core.pawstools.OperationLoadError[source]

Bases: exceptions.Exception

exception paws.core.pawstools.PluginLoadError[source]

Bases: exceptions.Exception

exception paws.core.pawstools.PluginNameError[source]

Bases: exceptions.Exception

exception paws.core.pawstools.WfNameError[source]

Bases: exceptions.Exception

exception paws.core.pawstools.WorkflowAborted[source]

Bases: exceptions.Exception

paws.core.pawstools.dtstr()[source]

Return date and time as a string

paws.core.pawstools.load_cfg(cfg_file)[source]
paws.core.pawstools.load_packaged_wfl(workflow_uri, wf_manager)[source]
paws.core.pawstools.load_wfl(wfl_filename, wf_manager)[source]

Set up a OpManager, PluginManager, and WfManager from a .wfl file.

Parameters:wfl_filename (str) – path to a .wfl file to be loaded
paws.core.pawstools.save_cfg(cfg_data, cfg_file)[source]
paws.core.pawstools.save_file(filename, d)[source]

Create or replace file indicated by filename, as a yaml serialization of dict d.

paws.core.pawstools.save_to_dict(wf_manager)[source]
paws.core.pawstools.save_to_wfl(wfl_filename, wf_manager)[source]

Save workflows, plugins, and active operations to a .wfl file.

The .wfl file is really just a YAML file.

Parameters:wfl_filename (str) – full path of the .wfl file to be saved- extension is optional, and an existing file will be overwritten.
paws.core.pawstools.timestr()[source]

Return time as a string

paws.core.pawstools.update_file(filename, d)[source]

Save the items in dict d into filename, without removing members not included in d.

Module contents