-
Notifications
You must be signed in to change notification settings - Fork 192
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
fix: Container directive parsing when it is on a single line #2306
fix: Container directive parsing when it is on a single line #2306
Conversation
Changes: - Strip additional components off container directive prior to parsing - Helps parse additional strings that may be present at the front of container directive (e.g. 'container '). - Should catch more non-standard container directives (of which there are many).
Codecov Report
@@ Coverage Diff @@
## dev #2306 +/- ##
==========================================
- Coverage 72.98% 72.89% -0.10%
==========================================
Files 78 78
Lines 8756 8760 +4
==========================================
- Hits 6391 6386 -5
- Misses 2365 2374 +9
|
8fe15ea is just there to make sure the test runs without a Nextflow failure. Not sure what to do about it really... |
Looks like this fix hasn't made it into a release yet: nextflow-io/nextflow#3992 Just checked the latest release 23.04.2. Maybe we leave the changes as they are and re-trigger when an edge release comes out. Not sure there is much else we can do. Definitely don't want to pin versions for testing. |
agreed, this is just a POC and to test if I broke anything else. Should have put do not merge label on it... |
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.
LGTM
I agree with letting this test fail until there is a fix in Nextflow
I suspect that there are other modules that are borked too, especially with the new registry syntax. Be good to run |
Spotted a problem. Do not merge. |
Fixed, I've changed the logic of the regex quite a bit by parsing the container string as much as possible before just looking for |
Fixes parsing of container directives when they don't match standard patterns, e.g. container "hello-world".
PR checklist
CHANGELOG.md
is updateddocs
is updated