Hello! I’m updating the version in saltshaker modu...
# help
i
Hello! I’m updating the version in saltshaker modules (first one here: https://github.com/nf-core/modules/pull/11797) and I’m running into an nf-test error with conda vs docker/singularity. In the PR above, I generated the snaps with
--profile docker
and I get a conda error that the .md5 of one of the outputs doesn’t match. If I generate the snaps with
--profile conda
, I get errors with singularity and docker. Anyone have ideas for how I should proceed?
s
Don't snapshot the md5sum of a png
png/pdf files are often slightly differnet based on the underlying architecture
In the test for saltshaker/plot, replace https://github.com/nf-core/modules/blob/c579dd33eff8774270148aaecc6e33613419dfbd/modules/nf-core/saltshaker/plot/tests/main.nf.test#L71 with
sanitizeOutput(process.out, unstableKeys: ["png"] )
i
ah good to know, thanks so much!
s
Hmm, not sure why the linting didn't like the sanitizeOutput
i
Yeah it’s not clear to me how to get the version output to show up properly when messing with the png output
s
that sanitizeOutput should have been sufficient
I've added a comment that will probably help
i
Looks like that did it, thanks so much for the help!
🙌 1