Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand paths after rendering var_templates. For point release v1.4.2. #384

Merged
merged 2 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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