From 5a27d692f3d53073ce98395b0732a6d20e0df94a Mon Sep 17 00:00:00 2001 From: anroy1 Date: Fri, 26 Jan 2024 14:11:22 -0500 Subject: [PATCH] 2nd fix for tests --- modules/nf-scil/registration/synthregistration/main.nf | 6 ++---- .../modules/nf-scil/registration/synthregistration/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/nf-scil/registration/synthregistration/main.nf b/modules/nf-scil/registration/synthregistration/main.nf index 81568c2bc..8b7af8736 100644 --- a/modules/nf-scil/registration/synthregistration/main.nf +++ b/modules/nf-scil/registration/synthregistration/main.nf @@ -2,9 +2,7 @@ process REGISTRATION_SYNTHREGISTRATION { tag "$meta.id" label 'process_single' - container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? - 'freesurfer/synthmorph:latest': - 'freesurfer/synthmorph:latest' }" + container "freesurfer/synthmorph:latest" input: tuple val(meta), path(moving), path(fixed) @@ -31,7 +29,7 @@ process REGISTRATION_SYNTHREGISTRATION { def extent = task.ext.extent ? "-e " + task.ext.extent : "" def weight = task.ext.weight ? "-w " + task.ext.weight : "" - //For argument definition, mri_warp_convert -h + //For arguments definition, mri_warp_convert -h def out = task.ext.out ? "--out" + task.ext.out : "--outlps" """ diff --git a/tests/modules/nf-scil/registration/synthregistration/test.yml b/tests/modules/nf-scil/registration/synthregistration/test.yml index 693eb3290..4e1c389de 100644 --- a/tests/modules/nf-scil/registration/synthregistration/test.yml +++ b/tests/modules/nf-scil/registration/synthregistration/test.yml @@ -1,6 +1,6 @@ ## TODO nf-core: Please run the following command to build this file: # nf-core modules create-test-yml /synthregistration -- name: "registration synthregistration" +- name: registration synthregistration test_registration_synthregistration command: nextflow run ./tests/modules/nf-scil/registration/synthregistration -entry test_registration_synthregistration -c ./tests/config/nextflow.config tags: - "registration" @@ -10,4 +10,4 @@ md5sum: e667c7caad0bc4b7ac383fd023c654fc - path: "output/registration/versions.yml" md5sum: a01fe51bc4c6a3a6226fbf77b2c7cf3b - +