Fix broken versions.yml file in last/train. #7393
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is the long story:
Escape sequences for newline and tab in a shell
tr
command were not escaped in the script section of the module, causing them to be expanded in.command.sh
.This did not prevent
tr
from doing its job, but this caused the lines in the script to be indented, like this:The indentation broke the herescript, but did not cause the module to fail.
Therefore, the
versions.yml
file contained one extra line withEND_VERSIONS
in it. This crashes the pipelines that collect theversion numbers, but this was not noticed because
last/train
is alwaysused with other
last/
submodules, and I was not usinglast/train
'sversions file until today, because I was assuming that the information
would always be redundant.
PR checklist
Closes #XXX
versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda