Skip to content

registration/convert fails on older nextflow version #230

@levje

Description

@levje

To reproduce: NXF_VER="24.04.2" nf-test test --tag registration/convert

Running this with NXF_VER="25.04.6.5954" works fine. From what I tested, it does not seem to work with Nextflow 24.xx.

Error (following is only the output of the first test, but all tests fail):

Test [c44f684c] 'registration - convert - deformation - ras to itk (lps)' Assertion failed: 

assert process.success
       |       |
       |       false
       REGISTRATION_CONVERT

java.lang.RuntimeException: Process has no output channels. process.out can not be used.
FAILED (1.591s)

  Assertion failed: 
  
  2 of 2 assertions failed
  
  Nextflow stdout:
  
  ERROR ~ Module compilation error
  - file : /home/local/USHERBROOKE/levj1404/Documents/nf-neuro/modules/nf-neuro/registration/convert/tests/../main.nf
  - cause: Variable `output_type` already defined in the process scope @ line 35, column 57.
     ansform_types[transform_type][output_typ
                                   ^
  
  1 error
  
  
   -- Check script '/home/local/USHERBROOKE/levj1404/Documents/nf-neuro/.nf-test-c44f684cd1bfa8685f001abc941a76bf.nf' at line: 15 or see '/home/local/USHERBROOKE/levj1404/Documents/nf-neuro/tests/.runs/tests/c44f684cd1bfa8685f001abc941a76bf/meta/nextflow.log' file for more details
  Nextflow stderr:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions