Initial implementation of antsRegistration_affine_SyN.sh#282
Conversation
390c9c1 to
a90da89
Compare
|
Minimal work is required so the module fits with the Once done, most linting and testing should work out the box. But nf-test expects some naming/formatting, that sadly isn't targetted when nf-core conventions are not abided to. |
2878c25 to
ae312c2
Compare
|
@AlexVCaron I can't sort out how to run the test properly inside the devcontainer, what's the appropriate command? |
ae312c2 to
b91bb4a
Compare
|
I run the test suite for any component from the root of the repo via : In this case, the path is For the lint, it is done via the Tell me of any problems, I can pull your PR and help debug ! |
|
Right. OK. It seems like the devcontainer doesn't have the antsRegistration_affine_SyN.sh that I got merged into the main repo... |
|
I'll get into that this w-e. It should've been included in the build, I'll investigate |
|
As stated on scilus/containers-scilus#42, |
0932c5d to
a7e2ecb
Compare
4db49ca to
b09a2af
Compare
|
@gdevenyi container is updated, we still have some issues with our servers I'll let you know asap when ready. |
No problem my local testbed works. |
b09a2af to
e9318a2
Compare
e9318a2 to
191152d
Compare
Split single mask input into separate fixed_mask and moving_mask inputs, matching the pattern from PR nf-neuro#367 for the ants registration module. antsRegistration_affine_SyN.sh supports --fixed-mask and --moving-mask as independent flags.
…hread support - Forward --reproducibility and --random-seed CLI flags to antsRegistration_affine_SyN.sh (CoBrALab PR nf-neuro#7) - Export ANTS_RANDOM_SEED env var (default 1234) for ancillary ANTs tools - Replace hardcoded thread counts with task.ext.single_thread-aware expressions for ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS and OMP_NUM_THREADS - Remove OPENBLAS_NUM_THREADS (set globally in test config) - Add reproducibility, ants_rng_seed, single_thread args to meta.yml Mirrors the pattern already applied to registration/ants (nf-neuro PR nf-neuro#342).
|
Depends on scilus/containers-scilus#45, also need to update the container reference once its released |
Merged and scilus/scilus:dev is updated |
|
This all works, I guess the only thing now is this should be pinned to an official scilus container version instead of dev |
|
I'm not sure there will be a release with a new version soon, right @arnaudbore ? In the meantime, you could pin it to the image SHA. |
Sure. |
Describe your changes
Implement the CoBrALab variant of antsRegistrationSyN.sh with optimized pyramids.
List test packages used by your module
Checklist before requesting a review
./modules/nf-neuro/<category>/<tool>/main.nf./modules/nf-neuro/<category>/<tool>/meta.yml./modules/nf-neuro/<category>/<tool>/environment.yml./modules/nf-neuro/<category>/<tool>/tests/main.nf.testmain.nf.test.snapsnapshotsprettierandeditorconfig-checkerto fix common syntax issuesnf-core modules lintand fix all errors