Skip to content

Commit

Permalink
Prep for v0.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
aplowman committed May 12, 2021
1 parent 2f0ccef commit 99f2d7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Change Log

## [0.2.20] - 2021.xx.xx
## [0.2.20] - 2021.05.12

### Added

- Add `Task.cleanup` attribute that can be used to optionally specify a list of glob patterns, representing file names to remove at the end of `Workflow.process_task_element`. Useful for removing very large simulation outputs that are not required after MatFlow has extracted the requested data.
- Add methods `Element` object: `get_file_lines` and `print_file_lines`, which take a file name and a slice of lines to get or print.
- Add methods to `Element` object: `get_file_lines` and `print_file_lines`, which take a file name and a slice of lines to get or print.

### Changed

- Change directory to element directory for invoking input/output/function mapper functions.
- 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_idx` directly when importing parameters. This overrides any specified `context`.

### Fixed

- Catch `ImportError` and `SyntaxError` when trying to load extensions.
- Import from the highest task index when importing a parameter that has been through a parameter-modifying task - fix [#103](https://github.com/LightForm-group/matflow/issues/103)
- Import from the highest task index when importing a parameter that has been through a parameter-modifying task - fix [#103](https://github.com/LightForm-group/matflow/issues/103). The can be overrode by specifying a `task_idx` directly.

## [0.2.19] - 2021.04.12 (April 2021 - Fix 1)

Expand Down
2 changes: 1 addition & 1 deletion matflow/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.19'
__version__ = '0.2.20'

0 comments on commit 99f2d7b

Please sign in to comment.