Conversation
|
hi @mirpedrol, sorry if it took me so long, but I have now completed the tests. Thanks a lot for the suggestion, it was very useful! I took the configuration and also the format of the test from the development version of the template. I think that when it will be time to update the project with new release of the template the tests should more or less be ready. |
|
@mirpedrol I think that the PR is ready for review. The new nf-test-based tests are currently not included in the GitHub CI workflow, as I haven't modified the existing workflow configuration. I believe it would be more convenient to wait for the release of the updated template and then integrate the new GitHub workflow in its entirety. |
|
thanks for working on this @matbonfanti, I will have a look asap 🙂 |
mirpedrol
left a comment
There was a problem hiding this comment.
Nice work! I will approve the PR, but I would like someone more experienced with nf-test than me to have a second look
|
I would update the CI so that it ran nf-test, as far as I can tell, only the old tests were run, and none of the new ones |
|
@matbonfanti to add the CI you can copy this file form the template. Let me know if you need help 😄 |
Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
Co-authored-by: Júlia Mir Pedrol <mirp.julia@gmail.com>
|
@mirpedrol sure, no problem, will do! |
|
Hi @matbonfanti, |
|
@nf-core-bot fix linting please! |
|
hi @mirpedrol sorry for not being very responsive... anyway, thanks for taking care of the nf-test pipeline... I will look into this in the next few days when I have time! |
|
I am a bit confused why the tests are failing, I regenerated the snapshots from codespaces to make sure we were using the same nextflow version as in the CI, but now new errors appear 😱 maybe you have better luck than me when you can have a look 😄 |
|
Hi @mirpedrol, However, the "Test targeted UMIs" is still failing in a puzzling way. In the CI workflow, the behavior of the Nextflow run seems completely different. For example, the test produces only 19 output files in CI, whereas I get 79 when running locally. |
|
Hi @mirpedrol, there are still errors for the "old style" testing workflow, but I cannot figure out what the problem is... do you have any idea of what is going on? |
|
@mirpedrol it seems that the update of the template fixed the previous issue. However, now I get again a problem with the main_screening.nf.test. As far as I see, the MAGECK_FLUTEMLE_CONTRASTS writes a different number of files when run with the latest nextflow, which seems a very weird behaviour. I need to look more closely into this... |
|
I missed your last message @matbonfanti. This last test failing is weird. Does it work for you if you run nf-test locally? We can check the |
|
Yes, I re-created the snap locally at some point, and it was working fine. I was using nf 24.04.2, but it would be very strange if the version of nextflow determines the number of files that are written by MAGeCKFlute... if this is really the case, there is something to fix in this process... |
|
I tested with the last version and it passes both locally and on gitpod, so maybe it could be related to the NF version + the runners. I will modify the github action to be able to check the .nextflow.log and debug |
|
well, my addition didn't work, so we can't check the |
|
this test is driving me nuts 😮 anyway, thanks a lot for the support! |
|
Was this closed by mistake? 👀 |
|
No, I did it on purpose... I merged the PR yesterday (and if you check the commit history of dev you can in fact see that the merge was successfull). However, for some reason the PR here seems to be stuck. There is this message "This pull request is closed, but the 28-add-nf-test branch has unmerged commits." but if I am not mistaking this is not the case. So, I decided to close the PR. |
|
I see the commits in the dev branch now, so weird that the PR shows as closed. Thanks for the clarification! |
test conversion to nf-test
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).