From 0ea314c12e3896326354fa23677dd04b808c3bb9 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Tue, 27 Jul 2021 21:43:38 +1000 Subject: [PATCH] fixed output spec name --- pydra/tasks/dcm2niix/utils.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pydra/tasks/dcm2niix/utils.py b/pydra/tasks/dcm2niix/utils.py index aa0d482..fb5ed95 100644 --- a/pydra/tasks/dcm2niix/utils.py +++ b/pydra/tasks/dcm2niix/utils.py @@ -29,6 +29,19 @@ "out_file", {"argstr": "-f {filename}", "help_string": "The output name for the file"}, ), + ( + "compress", + str, + # "n", + { + "argstr": "-z {compress}", + "allowed_values": ("y", "o", "i", "n", "3"), + "help_string": ( + "gz compress images [y=pigz, o=optimal pigz, " + "i=internal:miniz, n=no, 3=no,3D]" + ), + }, + ), ( "compression_level", int, @@ -230,19 +243,6 @@ ), }, ), - ( - "compress", - str, - # "n", - { - "argstr": "-z {compress}", - "allowed_values": ("y", "o", "i", "n", "3"), - "help_string": ( - "gz compress images [y=pigz, o=optimal pigz, " - "i=internal:miniz, n=no, 3=no,3D]" - ), - }, - ), ( "big_endian", str, @@ -309,7 +309,7 @@ ] Dcm2NiixOutputSpec = SpecInfo( - name="Dcm2niixInputs", fields=output_fields, bases=(ShellOutSpec,) + name="Dcm2niixOutputs", fields=output_fields, bases=(ShellOutSpec,) )