Skip to content

Commit

Permalink
fix findstates (#733)
Browse files Browse the repository at this point in the history
* fix findstates

* Update src/main/resources/io/viash/runners/nextflow/states/findStates.nf

Co-authored-by: Hendrik Cannoodt <[email protected]>

* Update src/main/resources/io/viash/runners/nextflow/states/findStates.nf

Co-authored-by: Hendrik Cannoodt <[email protected]>

---------

Co-authored-by: Hendrik Cannoodt <[email protected]>
  • Loading branch information
rcannood and Grifs authored Jul 10, 2024
1 parent 0244919 commit a5f3a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ TODO add summary
When the argument is used, a deprecation warning message is printed on stderr.
Cannot be used together with `--engine` or `--runner` and/or `--apply_engine` or `--apply_runner`.

* `nextflow_runner`: Fix refactoring error in the `findStates()` helper function (PR #733).

* `viash ns exec`: Fix "relative fields" outputting absolute paths (PR# 737). Additionally, improve path resolution when using the `--src` argument.

# Viash 0.9.0-RC6 (2024-06-17): Hotfix for docker image name generation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def findStates(Map params, Map config) {
// construct renameMap
if (args.rename_keys) {
def renameMap = args.rename_keys.collectEntries{renameString ->
def split = renameString.split(";")
assert split.size() == 2: "Argument 'rename_keys' should be of the form 'newKey:oldKey,newKey:oldKey'"
def split = renameString.split(":")
assert split.size() == 2: "Argument 'rename_keys' should be of the form 'newKey:oldKey', or 'newKey:oldKey;newKey:oldKey' in case of multiple values"
split
}

Expand Down

0 comments on commit a5f3a51

Please sign in to comment.