-
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
Remove get process and software name functions from versions.yml creation #1326
Conversation
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.
There are a few other things that need to be updated in the module pipeline, e.g
- get rid of functions.nf
- get rid of publish dir
but is that supposed to be part of this PR?
@@ -79,8 +79,8 @@ process {{ tool_name_underscore|upper }} { | |||
$bam | |||
|
|||
cat <<-END_VERSIONS > versions.yml | |||
${getProcessName(task.process)}: | |||
${getSoftwareName(task.process)}: \$( samtools --version 2>&1 | sed 's/^.*samtools //; s/Using.*\$//' ) | |||
{{ tool_name_underscore|upper }}: |
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.
Didn't we go for ${task.process}
here?
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.
Yeah, forgot to push the change 😢
I am addressing all the other changes in another PR. At the beginning, I was keeping separate the update of the modules template and the pipeline template, but they have some dependencies, so I went for a single draft here: #1327 |
Thinking again, might be worth closing this draft and adding everything in the same PR? 🤔 |
Yeah, let's do that 🚀 |
These changes are addressed in #1327 and thus, this draft PR has been closed |
Remove custom functions
getProcessName
andgetSoftwareName
and instead use the template to directly populate the process name and the software name within theversions.yml
code.Closes #1284
PR checklist
CHANGELOG.md
is updateddocs
is updated