Someone familiar with updating nf-core/modules fee...
# nostupidquestions
e
Someone familiar with updating nf-core/modules feel like guiding me through my first one? Have a number of modules I'd like to update, I have the docs and now I just want to get my first one right. Any takers? For example, some of the testing stuff is a bit confusing to me.
Feel free to PM me if you are interested
e
Write any queries or problems you face here in the thread! Might be helpful to others as well
party this 2
🙌 1
e
Ok so I have my module updated and updated the tests/main.nf.test and now I want to go about running it. Nextflow run does not run the file directly, what is the proper way to run your test script?
e
nf-test test path/to/main.nf.test --profile +docker --verbose
Change docker with singularity or conda, if you dont use docker
✅ 1
And add --update-snapshot if you want to update the snapshot before re-testing
✅ 1
e
That all worked for me, made the PR. Let me know if it looks good! https://github.com/nf-core/modules/pull/9583
Dang those white spaces were a pain. Finally got it to pass all checks