tools icon indicating copy to clipboard operation
tools copied to clipboard

linting for nf-test snapshot

Open maxulysse opened this issue 1 year ago • 1 comments

Description of feature

Make sure that no input are snapshot by nf-test: As it will err if we change the path to the files:

  • github: /nf-core/test-datasets/modules/data/genomics/sarscov2/illumina/fastq/test_1.fastq.gz
  • s3: /ngi-igenomes/testdata/nf-core/modules/genomics/sarscov2/illumina/fastq/test_1.fastq.gz

maxulysse avatar Jul 04 '24 09:07 maxulysse

can you link to an example where this was done? or is this hypothetical?

mashehu avatar Jul 04 '24 13:07 mashehu

Can we control that no one snapshots an input file? I think we could check to not snapshot files from the test-datasets repo if that's in the path, but I am not sure we can check other files.

mirpedrol avatar May 22 '25 14:05 mirpedrol

Closing as we think it's impossible to know what is an input file and what isn't. Can reopen if we get more information and examples to work with.

ewels avatar Jun 03 '25 12:06 ewels