Skip to content

Commit

Permalink
2nd fix for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anroy1 committed Jan 26, 2024
1 parent f02fefe commit 5a27d69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions modules/nf-scil/registration/synthregistration/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"

"""
Expand Down
4 changes: 2 additions & 2 deletions tests/modules/nf-scil/registration/synthregistration/test.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -10,4 +10,4 @@
md5sum: e667c7caad0bc4b7ac383fd023c654fc
- path: "output/registration/versions.yml"
md5sum: a01fe51bc4c6a3a6226fbf77b2c7cf3b

0 comments on commit 5a27d69

Please sign in to comment.