:meow_tableflip: snapshots. <@UE6D8290F> any idea ...
# sarek_dev
r
meow tableflip snapshots. @Maxime Garcia any idea what is wrong with the nftignore file? https://github.com/nf-core/sarek/pull/1989/files#diff-15cd5ec66801869c8989c6aa19acffe2e5ac7ccca3b3cd9e5bfd8743279c18f3
f
I added a comment
r
wasn't it.
Copy code
264         "fastqc_sequence_length_d   266         "fastqc_sequence_length_d
istribution_plot.txt:md5,fb04dce68ec566 istribution_plot.txt:md5,fb04dce68ec566
314125bc9438211b28",                    314125bc9438211b28",                   
                                        + 267         "mosdepth-coverage-per-co
                                        ntig-single.txt:md5,8aed596c5d95eeafeef
                                        183e0d947e6cd",                        
                                        + 268         "mosdepth-cumcoverage-dis
                                        t-id.txt:md5,31c857362b29fd05ceff2a0ef1
                                        4be6f6",                               
                                        + 269         "mosdepth_perchrom.txt:md
                                        5,8aed596c5d95eeafeef183e0d947e6cd",
sadpanda some names seem to be different, I'll fix those manually. but no idea what is going on with the mosdepth files. And I can't just create snapshots anywhere at the moment
f
I can try and run the nf-test for you if you give me write access to the branch? Maybe that resolves it already?
Which one is the culprit?
r
the bbsplit test. let me just merge it. it goes to a separate branch anyways and then reruns.
f
As you like it 🙂 but its no issue to create the snap - doing that on ramses
r
thank you. macs are really annoying atm
👍 1
f
ok running the snapshots now
The subworkflow tests themselves are only partially working for me:
Copy code
Test [94b4018a] 'BBSplit - build index from fasta list' Assertion failed: 

assert workflow.success
       |        |
       workflow false

FAILED (11.406s)

  Assertion failed: 
  
  1 of 2 assertions failed
  
  Nextflow stdout:
  
  ERROR ~ Unexpected error while finalizing task 'PREPARE_GENOME:BBMAP_BBSPLIT (build_index)' - cause: Target path for directive publishDir cannot be null
  
   -- Check '/home/paifb01/nf-core/sarek/.nf-test/tests/94b4018aae98ad8383b55c6237a549d5/meta/nextflow.log' file for details
  Nextflow stderr:
  
  Nextflow 25.04.7 is available - Please consider updating your version to it
Copy code
Test [a65f2af5] 'BBSplit - build index - stub' Assertion failed: 

assert workflow.success
       |        |
       workflow false

FAILED (7.977s)

  Assertion failed: 
  
  1 of 2 assertions failed
  
  Nextflow stdout:
  
  ERROR ~ Unexpected error while finalizing task 'PREPARE_GENOME:BBMAP_BBSPLIT (build_index)' - cause: Target path for directive publishDir cannot be null
  
   -- Check '/home/paifb01/nf-core/sarek/.nf-test/tests/a65f2af51280d41820de4388e4fab7eb/meta/nextflow.log' file for details
  Nextflow stderr:
  
  Nextflow 25.04.7 is available - Please consider updating your version to it
meow tableflip 2
Btw I think these mosdepth related files are still things that are being stored in the multiqc dir
Just ping me if I should run another round of nf-test 🙂
r
thanks
m
confused dog
r
I am going to loose my mind with this PR. a) the mosdepth files are still here : https://github.com/nf-core/sarek/actions/runs/18091978085/job/51474637136?pr=1983#step:4:836 B) all the other tests fail because I messed with the
.nftignore
f
lets merge the current dev in and then re-run the snaps maybe that helps?
party this 1
m
yeah no functionality is broken, just tests really
I'll try to work out a GHA to update the snapshots
f
at some point we also lost the annotation_vep and annotation_snpeff snap files 👀
r
I had the same question
apparently it's on purpose 😄
confused dog 1
f
I just reran it and updated the snap lets see
r
thanks a lot
f
my pleasure
m
there are no snap for theses at the moment
we are just checking for failure and seeing that the error contains what is in the test file, so no snap
👍 1
I am hoping to use nft-utils to correctly capture the stderr/stdout and put that in the snapshot
f
looks a bit better now:https://github.com/nf-core/sarek/actions/runs/18099690671/job/51499240264?pr=1983 still mismatch in cram md5 and some mosdepth files are still there and mismatched in md5 and this stats.txt gets moved around
👀 1
m
how do the
stats.txt
can be moved around like so confused dog
confused travolta 1