Recent Releases of https://github.com/lightform-group/matflow
https://github.com/lightform-group/matflow - v0.2.26
[0.2.26] - 2022.03.18
Fixed
- Use
tracebackmodule to print full exception from an output map that generates an exception. - Bug in
scripting.get_snippet_signaturefunction that produces code with a syntax error.
- Python
Published by aplowman over 4 years ago
https://github.com/lightform-group/matflow - v0.2.25
[0.2.25] - 2021.12.20
Fixed
- Fix bug where preparation and processing run options were ignored on workflow load.
- Fix bug where archive options were ignored on workflow load.
- Python
Published by aplowman over 4 years ago
https://github.com/lightform-group/matflow - v0.2.24
[0.2.24] - 2021.10.06
Fixed
- Fix bug introduced in 0.2.23, where default preparation/processing run options were ignored.
- Python
Published by aplowman over 4 years ago
https://github.com/lightform-group/matflow - v0.2.23
[0.2.23] - 2021.10.06
Fixed
- Fix inability to override default (preparation/processing) run options with an empty dict.
- Python
Published by aplowman over 4 years ago
https://github.com/lightform-group/matflow - v0.2.22
[0.2.22] - 2021.08.14
Added
- Add support for multiple archives. Fix #72.
Fixed
- Fix error message if an input mapper function has an unknown argument.
- Catch and print error message from output map function failure.
- Fix incorrect import key when importing from a non-trivial context that is not defined in the schema.
- Python
Published by aplowman almost 5 years ago
https://github.com/lightform-group/matflow - v0.2.21
[0.2.21] - 2021.06.06 (May 2021)
Added
- Allow passing a subset of the task input parameters to the output mapper function. Resolve #102.
- Allow passing all iterations of an input parameter to a function mapper. Resolve #104.
- Allow running an on-demand archive to an existing/completed workflow:
matflow archive path/to/workflow/directory ARCHIVE_NAME. Resolve #68. - Allow specifying
default_metadatain theconfig.ymlfile. Keys are merged withmetadataspecified in the workflow spec file. Resolve #98.
Fixed
- Save element resource usage (e.g. run time). Fix #97.
- Fix bug when determining the "producing task" in an iteration pathway. Fix #105.
- Fix bug when a file input parameter is specified with a
$HOMEtilde:~/path/to/file.
- Python
Published by aplowman about 5 years ago
https://github.com/lightform-group/matflow - v0.2.20
[0.2.20] - 2021.05.12
Added
- Add
Task.cleanupattribute that can be used to optionally specify a list of glob patterns, representing file names to remove at the end ofWorkflow.process_task_element. Useful for removing very large simulation outputs that are not required after MatFlow has extracted the requested data. - Add methods to
Elementobject:get_file_linesandprint_file_lines, which take a file name and a slice of lines to get or print.
Changed
- Change working directory to element directory for invoking input/output/function mapper functions. This is required in some cases where a tool or script does not accept a file path as an argument.
- Allow specifying the
task_idxdirectly when importing parameters. This overrides any specifiedcontext.
Fixed
- Catch
ImportErrorandSyntaxErrorwhen trying to load extensions. - Import from the highest task index when importing a parameter that has been through a parameter-modifying task - fix #103. The can be overrode by specifying a
task_idxdirectly.
- Python
Published by aplowman about 5 years ago
https://github.com/lightform-group/matflow - v0.2.19 (April 2021 - Fix 1)
[0.2.19] - 2021.04.12 (April 2021 - Fix 1)
Fixed
- Fix type problem when input schema keys are specified "inline" in the task schema (e.g. as
CRC_file_path[file=True,save=False]), in which the keys remain as typestr, when they should bebool. - Fix problem when an imported parameter is used in a task that is iterated.
- Python
Published by aplowman about 5 years ago
https://github.com/lightform-group/matflow - v0.2.18 (April 2021)
[0.2.18] - 2021.04.10
Fixed
- Fix misleading error message when a task parameter specified as a file path does not actually exist as a file.
- Fix bug where if all possible dependency pathways are circularly dependent, this is not caught by MatFlow. Fix #88.
- Fix issue with accessing parameter data with dot-notation via their "safe names". Fix #87.
Added
- Add new parameter key
ignore_dependency_from, which is a list of task names. This allows us to exclude tasks when considering the dependencies of this parameter. Fix #89. - Allow embedding file-path inputs (inputs that are text files) into the HDF5 file. Fix #86.
- Add
Task.unique_nameproperty which adds on the non-trivialTask.contexttoTask.name. - Tasks can be accessed from the task list via dot-notation. Fix #90.
- Add
Task.elements_idxproperty to retrieve to correctelements_idxdict for that task. - Add new exception type:
ParameterImportError. - Add ability to import parameters from existing workflows. Fix #30
Changed
- Non-trivial task contexts are now part of the task directory name to help distinguish task directories where multiple contexts are used. Fix #50.
- Add
contextargument toWorkflow.get_input_tasksandWorkflow.get_output_tasks.
- Python
Published by aplowman about 5 years ago
https://github.com/lightform-group/matflow - v0.2.17
[0.2.17] - 2021.02.15
Fixed
- Fix issue #82 where the default group is not defined in the
Workflow.element_idxfor tasks where no local inputs are defined.
Added
- Add support for flexible positioning of parameter-modifying tasks (#81)
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.16
[0.2.16] - 2021.02.05
Fixed
- Bump hpcflow to v0.1.13 to fix #80 and then to v0.1.14 to fix a database locking issue and a bug with choosing the correct working directories.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.15
[0.2.15] - 2021.01.18
Changed
- Change an Exception to a warning in
Workflow.get_element_datato allow manually deleting element data without corrupting.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.14
[0.2.14] - 2021.01.17
Added
- Add method
Task.get_elements_from_iteration(iteration_idx).
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.13
[0.2.13] - 2020.12.17
Fixed
- Fix bug when populating
Workflow.elements_idxfor more than two iterations.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.12
[0.2.12] - 2020.12.16
Added
- Add
Workflow.figuresattribute for storing associated figure definitions. - Add
Workflow.metadataattribute for storing arbitrary metadata (will later be used for Zenodo archiving). - Add various
Workflowstatic methods to help with retrieving information in the viewer without loading the whole workflow viahickle. - Add
get_task_schemasto API to load the available task schemas without generating a workflow. - Add
refreshbool parameter toConfig.set_config, to force a reload of the configuration. - Support inputs as dependencies as well as outputs.
- Support "parameter modifying" tasks (a task which outputs a parameter that is also an input to that task).
- Add
iterate_run_optionsto Workflow. - Add new methods for finding dependent and dependency tasks/parameters, upstream/downstream parameter values associated with a given element.
- Add input option:
include_all_iterations. If True, inputs from all iterations are passed to input map functions.
Fixed
- Only save input/output map files if they exist!
- Fix bug in propagating groups correctly
- Various code formatting issues
- Fix failure to raise on invalid schemas.
- Fix bug when the same file is to be saved from multiple output maps.
Changed
- Redo task sorting algorithm such that minimal ordering changes are made.
- Set
statsbool to False by default. - Bump hpcflow version to v0.1.12.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.11
[0.2.11] - 2020.09.29
Fixed
- Resolve
~in task schema and software file paths specified in the configuration file.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.10
[0.2.10] - 2020.09.29
Fixed
- Fix if a function mapper function does not return anything.
- Python
Published by aplowman over 5 years ago
https://github.com/lightform-group/matflow - v0.2.9
[0.2.9] - 2020.09.17
Added
- Add scripting module for generating Python source scripts.
- Default run options can be specified in the MatFlow configuration file for task, preparation and processing jobs using both "sticky" and "non-sticky" keys:
default_run_options,default_sticky_run_options,default_preparation_run_options,default_sticky_preparation_run_options,default_processing_run_optionsanddefault_sticky_processing_run_options. The "sticky" defaults are always applied (but workflow-specified run options take precedence), whereas the "non-sticky" defaults are only applied if a task has no workflow-specified run options.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.8
[0.2.8] - 2020.09.01
Changed
- Add
version_infotoSoftware.__repr__method - Validate source maps after missing schema check
Fixed
- Remove vestigial and buggy line in
construction.get_element_idxwhich would lead to enormous memory usage for large sequences.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.7
[0.2.7] - 2020.08.18
Added
- Default values can be specified for output map options within the schema
- Default values can be specified for task input parameters within the schema
- Depending on the inputs defined, different commands can be run, via "command pathway" definitions in the schema implementations.
Changed
- Uses
hickleversion 4. - Group structure in workflow HDF5 file has changed (backwards-incompatible); element data is more conveniently organised for inspecting the HDF5 file manually.
Fixed
- Fix problem when a task input key includes slashes.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.6
[0.2.6] - 2020.07.08
Added
- Add alternate scratch feature to allow a given task to be executed within a separate temporary directory.
Fixed
- Fix bug if specifying
merge_priorityon the default group.
Changed
- Bump hpcflow to v0.1.10
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.5
[0.2.5] - 2020.06.27
Fixed
- Fix copying of profile file to the workflow directory when the profile file path is not in the current working directory.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.4
[0.2.4] - 2020.06.26
Changed
- Fix dependency
hickleversion for now, until we can assess requirements for jumping to version 4.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.3
[0.2.3] - 2020.06.26
Changed
- Files generated by input maps are only saved into the workflow file if explicitly requested with
save: true.
Fixed
- Fix bug in
SourcesPreparation.get_formatted_commandsthat appears if there are no commands.
- Python
Published by aplowman almost 6 years ago
https://github.com/lightform-group/matflow - v0.2.2
[0.2.2] - 2020.06.09
Changed
- Improved Dropbox authorization flow.
- Bump hpcflow to v0.1.9
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.2.1
[0.2.1] - 2020.06.09
Fixed
- Fix bug in reading
default_preparation_run_optionsanddefault_processing_run_optionsdicts from the config file.
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.2.0
[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.
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.1.3
[0.1.3] - 2020.05.27
- New release for Zenodo archive.
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.1.2
[0.1.2] - 2020.05.12
- Latest dev branch merged...
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.1.1
[0.1.1] - 2020.05.07
Fixed
- Added missing dependency.
- Python
Published by aplowman about 6 years ago
https://github.com/lightform-group/matflow - v0.1.0
[0.1.0] - 2020.05.07
Initial release.
- Python
Published by aplowman about 6 years ago