v0.2.0
Pre-release
Pre-release
[0.2.0] - 2020.06.09
Added
- Add a
Workflow.historyattribute that tracks when the workflow was modified. It also stores pertinent software versions. - Add a CLI command
matflow validatethat runs through the task schema and extension validation. - Add a CLI command
matflow kill, which kills all executing and pending tasks. - Added configuration option
prepare_process_scheduler_optionsto specify scheduler options for the prepare and process tasks. - matflow profile is stored as a
dictin addition to a string representation of the profile file (both in theWorkflow.profileattribute).
Changed
- Module and function
jsonable.pyandto_jsonablerenamed tohicklable.pyandto_hicklable. - Workflow and Task attributes in the workflow HDF5 file are now represented without leading underscores.
- Tasks with only a single element use the task directory directly instead of using an element sub-directory.
- Loading extensions and configuration files has been moved from the root
__init__to separate modules. make_workflow,submit_workflow,load_workflow,append_schema_source,prepend_schema_sourceandvalidatecan now be imported from the root level:from matflow import make_workflowetc.- There are no longer unsightly global variables for
TASK_INPUT_MAPetc. This functionality has been subsumed into the globalConfigclass. This is tidier and provides a better place for some validation. - Software key
sourceshas been replaced byenvironment. - hpcflow configuration directory is generated within the matflow configuration directory.
- Jobscript names refer to the task to which they prepare/execute/process
- hpcflow profile is passed as a
dictto hpcflow. For information, the hpcflow profile is still dumped to a file.