If there is an optional, tool-specific file (e.g. ...
# modules
a
If there is an optional, tool-specific file (e.g. config/settings and not genomic data), which is needed for a test where should that file be put? Does it go into the test-data repo somewhere, or is there a way to put it alongside the module test code?
j
It depends on how big it is
If it's quite small, you can just build it on the fly
Otherwise you can put it on
test-datasets
in a tool specific sub directory under
delete_me/
(which is misleading, we know)
m
For the nextdenovo config, we put it under
data/generic/config
: https://github.com/nf-core/test-datasets/pull/1612/files
j
Oh man we really need to fix the test-dataset stuff - to me generic is for 'universal' formats (
tsv
,
txt
etc 🫥 )
Maybe we sort this out next month
m
Then I guess we make a folder called `tool_specific`/`tool_name` for these kind of things.
j
Yeah maybem, we will see!