-
Notifications
You must be signed in to change notification settings - Fork 912
DO NOT MERGE update fasta_index_dna #8502
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
DO NOT MERGE update fasta_index_dna #8502
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.
Several of your tests in the snapshot seem to be outputting the whole test work directory, which is then failing due to not being consistent.
I'm not sure why it is doing that though.
We often see similar behaviour when a file is created that ends in .gz but isn't actually gzipped (often empty files that are present in a stub), but I don't think that is happening here.
You also need to remove the pytest files and swap e.g. file(params.test_data['sarscov2']['genome']['genome_fasta'],checkIfExists:true)
to be the newer params.modules_testdata_path` structure.
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 can't see any obvious reason why nf-test would behave differently for the two bwa tools to snapaligner and bowtie.
I would suggest trying altering the output folder name/structure in one of the two bwa modules and see if that makes any difference (e.g. try tuple val(meta), path("bwa/") , emit: index
, or tuple val(meta), path("foo") , emit: index
, with changing the code itself to use foo
).
I think I've figured this out, just need to finish it off |
I've updated this subworkflow, tests should hopefully now pass. |
@SPPearce as per: https://nfcore.slack.com/archives/C043UU89KKQ/p1748441535247279 |
Replaced by #8962 |
PR checklist
Closes
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