Skip to content

Commit

Permalink
Merge pull request #384 from pepkit/v_142_pointrelease
Browse files Browse the repository at this point in the history
Expand paths after rendering var_templates. For point release v1.4.2.
  • Loading branch information
donaldcampbelljr authored Jul 31, 2023
2 parents 5891017 + 1a5aec9 commit 3399add
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.

## [1.4.2] -- 2023-07-31

### Fixed
- Fix for expanding paths properly.

## [1.4.1] -- 2023-06-22

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion looper/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.1"
__version__ = "1.4.2"
4 changes: 3 additions & 1 deletion looper/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from pipestat import PipestatError
from ubiquerg import expandpath
from yaml import dump
from yacman import YAMLConfigManager
from yacman import YAMLConfigManager, expandpath as expath

from .const import *
from .exceptions import JobSubmissionException
Expand Down Expand Up @@ -730,6 +730,8 @@ def write_script(self, pool, size):
)
_LOGGER.debug(f"namespace pipelines: { pl_iface }")
namespaces["pipeline"]["var_templates"] = pl_iface[VAR_TEMPL_KEY]
for k, v in namespaces["pipeline"]["var_templates"].items():
namespaces["pipeline"]["var_templates"][k] = expath(v)
# pre_submit hook namespace updates
namespaces = _exec_pre_submit(pl_iface, namespaces)
self._rendered_ok = False
Expand Down

0 comments on commit 3399add

Please sign in to comment.