Skip to content

updated test evaluation strategy - check for getReadsMD5, instead of getREADs using the nf-bam plugin to avoid linting conflicts.#12348

Open
Kevin-Brockers wants to merge 14 commits into
nf-core:masterfrom
Kevin-Brockers:change_bowtie2_testing
Open

updated test evaluation strategy - check for getReadsMD5, instead of getREADs using the nf-bam plugin to avoid linting conflicts.#12348
Kevin-Brockers wants to merge 14 commits into
nf-core:masterfrom
Kevin-Brockers:change_bowtie2_testing

Conversation

@Kevin-Brockers

Copy link
Copy Markdown
Contributor

…ds directly to avoid merge marker conflicts during linting

PR checklist

close #12289

Closes #XXX

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker

Comment thread modules/nf-core/bowtie2/align/tests/main.nf.test
Comment thread modules/nf-core/bowtie2/align/tests/main.nf.test
Comment thread modules/nf-core/bowtie2/align/tests/main.nf.test
@@ -549,7 +477,8 @@ nextflow_process {
{ assert process.success },
{ assert snapshot(
file(process.out.cram[0][1]).name,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here for the statistics

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this is sufficient? I don't necessary like the hardcoded path but file(params.modules_testdata_base_path +
'genomics/sarscov2/genome/genome.fasta') gave an error... so I hard coded it, similar as in other modules.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add the fasta file string to the meta map and fetch it from there in the test output

@Kevin-Brockers Kevin-Brockers requested a review from nvnieuwk July 13, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update testing strategy for bowtie2/align

2 participants