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

Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough, renameKeys and DataflowHelper #792

Merged
merged 14 commits into from
Jan 8, 2025

Conversation

DriesSchaumont
Copy link
Contributor

@DriesSchaumont DriesSchaumont commented Dec 26, 2024

Describe your changes

Remove deprecated map, mapId, mapData, mapPassthrough

Related issue(s)

Closes #xxxx

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • New functionality (non-breaking change which adds functionality)
  • Major change (non-breaking change which modifies existing functionality)
  • Minor change (non-breaking change which does not modify existing functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update

Checklist

Requirements:

  • I have read the CONTRIBUTING doc.
  • I have performed a self-review of my code by checking the "Changed Files" tab.
  • My code follows the code style of this project.

Tests:

  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Documentation:

  • Proposed changes are described in the CHANGELOG.md.
  • I have updated the documentation accordingly.

Test Environment

@DriesSchaumont DriesSchaumont changed the title Nextflow runner: remove deprecated map, mapId, mapData and mapPassthrough. Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough and DataFlowHelper Dec 26, 2024
@DriesSchaumont DriesSchaumont changed the title Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough and DataFlowHelper Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough and DataflowHelper Dec 26, 2024
@DriesSchaumont DriesSchaumont changed the title Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough and DataflowHelper Nextflow runner: remove deprecated map, mapId, mapData, mapPassthrough, renameKeys and DataflowHelper Dec 26, 2024
Copy link
Member

@rcannood rcannood left a 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

Comment on lines 59 to 64

// Fetch default values for arguments
def defaultArgs = config.allArguments
.findAll { it.containsKey("default") }
.collectEntries { [ it.plainName, it.default ] }

Copy link
Member

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 ^^

Copy link
Contributor Author

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.

@@ -63,59 +63,6 @@ class Vdsl3ModuleTest extends AnyFunSuite with BeforeAndAfterAll {
assert(!lines2.isDefined)
}

test("Test map/mapData/id arguments", DockerTest, NextflowTest) {
Copy link
Contributor Author

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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
platforms:
engines:

?

Copy link
Member

@rcannood rcannood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor suggestions, LGTM!

Co-authored-by: Robrecht Cannoodt <[email protected]>
@DriesSchaumont DriesSchaumont merged commit 48170f5 into develop Jan 8, 2025
7 checks passed
@DriesSchaumont DriesSchaumont deleted the nextflow_run_deprecations branch January 8, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants