-
Notifications
You must be signed in to change notification settings - Fork 954
Bump openms version to 3.5.0 and migrate to version topics #9638
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
base: master
Are you sure you want to change the base?
Conversation
|
we haven't gotten the anchor syntax to work properly yet, so for now you need to duplicate the entries. I reran everything with the most recent dev version of tools and |
should do the same thing...
|
I hope it was okay, that i pushed some fixes directly to your PR. |
|
Sure thing, thanks for fixing it @mashehu! |
modules/nf-core/openmsthirdparty/cometadapter/tests/main.nf.test.snap
Outdated
Show resolved
Hide resolved
SPPearce
left a comment
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.
We have a proceedure for deprecating modules:
https://nf-co.re/docs/guidelines/components/module_deprecation
…st.snap Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
|
@nf-core-bot fix linting |
|
Thanks for the hint @SPPearce! No matter what I do, I cannot get the linter to pass the cometadapter module. |
|
I'll have another look. |
|
I'm puzzled. I did the --fix option as well as tried out other things as well with nf-core 3.5.1 linter. I had the same solution afaik but locally I got the linting error. Anyways, looks like it works now, thanks! |
|
there are some fixes in the dev version of tools (updated yesterday), that is also the version CI uses in modules (topics are still quite hot and we keep finding edge cases) |
|
Alright, thanks again! Looks like we are ready to review here :) |
| output: | ||
| tuple val(meta), path("*.fasta"), emit: decoy_fasta | ||
| path "versions.yml" , emit: versions | ||
| tuple val("${task.process}"), val('openms'), eval("FileInfo --help 2>&1 | grep -E '^Version' | sed 's/^.*Version: //; s/-.*\$//' | sed 's/ -*//; s/ .*\$//'"), emit: versions_openms, topic: versions |
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.
Oh this is really really long, I'm sure AI could make it much shorter.
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.
I tried already a full Gemini3 day on version parsing 😂😂
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
|
Can we merge? 😁 |
Co-authored-by: Simon Pearce <24893913+SPPearce@users.noreply.github.com>
|
Is your local nf-core lint from 3.5.1? I guess the dev branch used during CI is the reason why it works for you and not during CI, correct? |
|
The linting is complaining because the meta.yml hasn't been updated to match |
|
(the singularity errors are unrelated, need to update branch to get rid of them) |
| - openms: | ||
| type: string | ||
| description: The tool name | ||
| - "FileInfo --help 2>&1 | grep -E '^Version' | sed 's/^.*Version: //; s/-.*\\$//' | sed 's/ -*//; s/ .*\\$//'": |
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.
| - "FileInfo --help 2>&1 | grep -E '^Version' | sed 's/^.*Version: //; s/-.*\\$//' | sed 's/ -*//; s/ .*\\$//'": | |
| - "FileInfo --help 2>&1 | sed -nE 's/^Version: ([0-9.]+).*/\\1/p'": |
Linter seems to fail for topic channels currently. Tried to implement suggestion from Slack: https://nfcore.slack.com/archives/C09LJTQQ3EY/p1763134358185619?thread_ts=1762763322.812579&cid=C09LJTQQ3EY
Versions are captured properly in snapshot, though.
PR checklist
Closes #XXX
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda