Skip to content

Commit

Permalink
test fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
anroy1 committed Jan 26, 2024
1 parent 87b9a78 commit f02fefe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
8 changes: 4 additions & 4 deletions modules/nf-scil/registration/synthregistration/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ process REGISTRATION_SYNTHREGISTRATION {
label 'process_single'

container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://scil.usherbrooke.ca/containers/scilus_1.6.0.sif':
'scilus/scilus:1.6.0' }"
'freesurfer/synthmorph:latest':
'freesurfer/synthmorph:latest' }"

input:
tuple val(meta), path(moving), path(fixed)
Expand All @@ -13,11 +13,11 @@ process REGISTRATION_SYNTHREGISTRATION {
output:
tuple val(meta), path("*__*_output_warped.nii.gz"), emit: warped_image
tuple val(meta), path("*__deform_warp.nii.gz"), emit: deform_transform
tuple val (meta), path("*__init_warp.txt"), emit: affine_transform
tuple val (meta), path("*__init_warp.txt"), emit: init_transform
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when_output_warped
task.ext.when == null || task.ext.when

script:
def args = task.ext.args ?: ''
Expand Down
11 changes: 8 additions & 3 deletions modules/nf-scil/registration/synthregistration/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,21 @@ output:
Groovy Map containing sample information
e.g. `[ id:'test', single_end:false ]`
- init:
- init_transform:
type: file
description: Affine transform for initialization
pattern: "*.{txt}"

- deform:
- deform_transform:
type: file
description: Deform transformation
pattern: "*.{nii,.nii.gz}"


- warped_image:
type: file
description: Warped image
pattern: "*.{nii,.nii.gz}"

- versions:
type: file
description: File containing software versions
Expand Down

0 comments on commit f02fefe

Please sign in to comment.