Skip to content

Fix default imports in included configs#6096

Merged
pditommaso merged 3 commits intomasterfrom
fix-include-config-imports
May 28, 2025
Merged

Fix default imports in included configs#6096
pditommaso merged 3 commits intomasterfrom
fix-include-config-imports

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.

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from pditommaso May 16, 2025 22:19
@netlify
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

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@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