-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough, renameKeys and DataflowHelper #792
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LGTM, just one minor comment
|
||
// Fetch default values for arguments | ||
def defaultArgs = config.allArguments | ||
.findAll { it.containsKey("default") } | ||
.collectEntries { [ it.plainName, it.default ] } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an entry to the changelog for this change. Ideally, it'd be a separate PR because it's not related to the removal of previously deprecated arguments ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a CHANGELOG entry. I added this change because otherwise the tests were failing. So I would like to avoid a separate PR if possible.
src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf
Outdated
Show resolved
Hide resolved
src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf
Outdated
Show resolved
Hide resolved
src/test/resources/testnextflowvdsl3/workflows/pipeline3/main.nf
Outdated
Show resolved
Hide resolved
@@ -63,59 +63,6 @@ class Vdsl3ModuleTest extends AnyFunSuite with BeforeAndAfterAll { | |||
assert(!lines2.isDefined) | |||
} | |||
|
|||
test("Test map/mapData/id arguments", DockerTest, NextflowTest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test has an equivalent in NextflowScriptTest
entrypoint: run_wf | ||
platforms: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms: | |
engines: |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions, LGTM!
src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf
Outdated
Show resolved
Hide resolved
src/test/resources/testnextflowvdsl3/src/test_wfs/empty_workflow/main.nf
Outdated
Show resolved
Hide resolved
Co-authored-by: Robrecht Cannoodt <[email protected]>
src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf
Outdated
Show resolved
Hide resolved
src/main/resources/io/viash/runners/nextflow/channel/channelFromParams.nf
Outdated
Show resolved
Hide resolved
…omParams.nf Co-authored-by: Hendrik Cannoodt <[email protected]>
Describe your changes
Remove deprecated map, mapId, mapData, mapPassthrough
Related issue(s)
Closes #xxxxType of Change
Checklist
Requirements:
Tests:
Documentation:
Test Environment