Skip to content

Fix default imports in included configs #6096

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

Merged
merged 3 commits into from
May 28, 2025
Merged

Conversation

bentsherman
Copy link
Member

Close #6094

The v1 config parser did not define the default imports (Duration and MemoryUnit) for included config files as it does for the main config file. This PR fixes the inconsistency, and can be verified by the test case in the linked issue.

Verified

This commit was signed with the committer’s verified signature.
bentsherman Ben Sherman
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from pditommaso May 16, 2025 22:19
Copy link

netlify bot commented May 16, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 484dd2a
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68363e1505b8c8000821e1f1

Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

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

A test should be included

Verified

This commit was signed with the committer’s verified signature.
bentsherman Ben Sherman
Signed-off-by: Ben Sherman <bentshermann@gmail.com>

Verified

This commit was signed with the committer’s verified signature.
bentsherman Ben Sherman
@bentsherman bentsherman requested a review from pditommaso May 27, 2025 22:35
Copy link
Member

@pditommaso pditommaso left a comment

Choose a reason for hiding this comment

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

Nice

@pditommaso pditommaso merged commit 8f79061 into master May 28, 2025
22 checks passed
@pditommaso pditommaso deleted the fix-include-config-imports branch May 28, 2025 08:54
pditommaso pushed a commit that referenced this pull request Jun 16, 2025
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nextflow.util not imported in included config files
2 participants