Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken versions.yml file in last/train. (#7393)
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: ``` cat <<-END_VERSIONS > versions.yml "NFCORE_PAIRGENOMEALIGN:PAIRGENOMEALIGN:PAIRALIGN_M2M:ALIGNMENT_TRAIN": last: $(lastdb --version | sed 's/lastdb //') END_VERSIONS ``` The indentation broke the herescript, but did not cause the module to fail. Therefore, the `versions.yml` file contained one extra line with ` END_VERSIONS` in it. This crashes the pipelines that collect the version numbers, but this was not noticed because `last/train` is always used with other `last/` submodules, and I was not using `last/train`'s versions file until today, because I was assuming that the information would always be redundant.
- Loading branch information