<@U04M8EZHEFL> You Are Awesome! for bulk convertin...
# you-are-awesome
s
@Usman You Are Awesome! for bulk converting/updating the test data paths for existing nf-tests The old way requires a separate
tests/config/test_data.config
file that needed to be constantly updated as test-data changed. The new way uses a param set to the test-datasets git repo - `modules_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/'`so, no need of a separate test data library config Its honest work! Thank you https://media0.giphy.com/media/xSM46ernAUN3y/giphy-downsized.gif?cid=6104955e3yvd214g[…]p0x36jhy7h&ep=v1_gifs_translate&rid=giphy-downsized.gif&ct=g
🥳 6
u
Thank you @Sateesh_Peri I had hoped it will be a walk in the park. The paths are converted automatically with: https://github.com/GallVp/nxf-components/blob/main/.github/get_test_data_path_update.nf But lots of tests have been failing due to conda and snapshots which are stable only for a day. We need conda lock files and increase the usage of nft-bam, nft-vcf,
linesGzip
, etc. I did not want to leave the job halfway so kept going. The modules are mostly done with some exceptions listed here: https://github.com/nf-core/modules/issues/5848#issuecomment-2267980885
p
It's really appreciated - we have a number of other bulk module updates coming down the road, so we were going to have to face all of these failing tests at some point anyway.
s
There are still all the remaining pytest modules that'll need converting - could we get this built into part of the tools for
migrate-pytest
?
Also, thank you again, you've done an amazing job with this.
u
Yeah, forgot about the pytest modules! Thanks for your help @Simon Pearce
❤️ 1
s
No problem, you've been doing the hard work