Skip to content

Commit 353d66e

Browse files
authored
Merge pull request #287 from styx-api/fix/fslmaths
Fix dual argument command line flag attributes in fslmaths
2 parents b4f5fd2 + c90ef4d commit 353d66e

1 file changed

Lines changed: 16 additions & 40 deletions

File tree

src/niwrap/fsl/6.0.4/fslmaths/boutiques.json

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -839,73 +839,53 @@
839839
"id": "operation_kernel_3D",
840840
"name": "3D kernel",
841841
"description": "3x3x3 box centered on target voxel (set as default kernel)",
842-
"command-line": "[OP_KERNEL_3D]",
843-
"inputs": [
844-
{
845-
"value-key": "[OP_KERNEL_3D]",
846-
"id": "kernel_3D",
847-
"name": "3D kernel",
848-
"type": "Flag",
849-
"description": "3x3x3 box centered on target voxel (set as default kernel)",
850-
"command-line-flag": "-kernel 3D"
851-
}
852-
]
842+
"command-line": "-kernel 3D",
843+
"inputs": []
853844
},
854845
{
855846
"id": "operation_kernel_2D",
856847
"name": "2D kernel",
857848
"description": "3x3x1 box centered on target voxel",
858-
"command-line": "[OP_KERNEL_2D]",
859-
"inputs": [
860-
{
861-
"value-key": "[OP_KERNEL_2D]",
862-
"id": "kernel_2D",
863-
"name": "2D kernel",
864-
"type": "Flag",
865-
"description": "3x3x1 box centered on target voxel",
866-
"command-line-flag": "-kernel 2D"
867-
}
868-
]
849+
"command-line": "-kernel 2D",
850+
"inputs": []
869851
},
870852
{
871853
"id": "operation_kernel_box",
872854
"name": "Box kernel",
873855
"description": "All voxels in a cube of width <size> mm centered on target voxel",
874-
"command-line": "[OP_KERNEL_BOX]",
856+
"command-line": "-kernel box [OP_KERNEL_BOX]",
875857
"inputs": [
876858
{
877859
"value-key": "[OP_KERNEL_BOX]",
878860
"id": "kernel_box",
879861
"name": "Box kernel",
880862
"type": "Number",
881863
"description": "All voxels in a cube of width <size> mm centered on target voxel",
882-
"optional": false,
883-
"command-line-flag": "-kernel box"
864+
"optional": false
884865
}
885866
]
886867
},
887868
{
888869
"id": "operation_kernel_boxv",
889870
"name": "Box kernel (voxels)",
890871
"description": "All voxels in a cube of width <size> voxels centered on target voxel",
891-
"command-line": "[OP_KERNEL_BOXV]",
872+
"command-line": "-kernel boxv [OP_KERNEL_BOXV]",
892873
"inputs": [
893874
{
894875
"value-key": "[OP_KERNEL_BOXV]",
895876
"id": "kernel_boxv",
896877
"name": "Box kernel (voxels)",
897878
"type": "Number",
898879
"description": "All voxels in a cube of width <size> voxels centered on target voxel",
899-
"optional": false,
900-
"command-line-flag": "-kernel boxv"
880+
"optional": false
901881
}
902882
]
903883
},
904884
{
905885
"id": "operation_kernel_boxv3",
906886
"name": "Box kernel (3D voxels)",
907887
"description": "All voxels in a cuboid of dimensions X x Y x Z centered on target voxel",
908-
"command-line": "[OP_KERNEL_BOXV3]",
888+
"command-line": "-kernel boxv3 [OP_KERNEL_BOXV3]",
909889
"inputs": [
910890
{
911891
"value-key": "[OP_KERNEL_BOXV3]",
@@ -916,59 +896,55 @@
916896
"min-list-entries": 3,
917897
"max-list-entries": 3,
918898
"description": "All voxels in a cuboid of dimensions X x Y x Z centered on target voxel",
919-
"optional": false,
920-
"command-line-flag": "-kernel boxv3"
899+
"optional": false
921900
}
922901
]
923902
},
924903
{
925904
"id": "operation_kernel_gauss",
926905
"name": "Gaussian kernel",
927906
"description": "Gaussian kernel (sigma in mm, not voxels)",
928-
"command-line": "[OP_KERNEL_GAUSS]",
907+
"command-line": "-kernel gauss [OP_KERNEL_GAUSS]",
929908
"inputs": [
930909
{
931910
"value-key": "[OP_KERNEL_GAUSS]",
932911
"id": "kernel_gauss",
933912
"name": "Gaussian kernel",
934913
"type": "Number",
935914
"description": "Gaussian kernel (sigma in mm, not voxels)",
936-
"optional": false,
937-
"command-line-flag": "-kernel gauss"
915+
"optional": false
938916
}
939917
]
940918
},
941919
{
942920
"id": "operation_kernel_sphere",
943921
"name": "Sphere kernel",
944922
"description": "All voxels in a sphere of radius <size> mm centered on target voxel",
945-
"command-line": "[OP_KERNEL_SPHERE]",
923+
"command-line": "-kernel sphere [OP_KERNEL_SPHERE]",
946924
"inputs": [
947925
{
948926
"value-key": "[OP_KERNEL_SPHERE]",
949927
"id": "kernel_sphere",
950928
"name": "Sphere kernel",
951929
"type": "Number",
952930
"description": "All voxels in a sphere of radius <size> mm centered on target voxel",
953-
"optional": false,
954-
"command-line-flag": "-kernel sphere"
931+
"optional": false
955932
}
956933
]
957934
},
958935
{
959936
"id": "operation_kernel_file",
960937
"name": "External file kernel",
961938
"description": "Use external file as kernel",
962-
"command-line": "[OP_KERNEL_FILE]",
939+
"command-line": "-kernel file [OP_KERNEL_FILE]",
963940
"inputs": [
964941
{
965942
"value-key": "[OP_KERNEL_FILE]",
966943
"id": "kernel_file",
967944
"name": "External file kernel",
968945
"type": "File",
969946
"description": "Use external file as kernel",
970-
"optional": false,
971-
"command-line-flag": "-kernel file"
947+
"optional": false
972948
}
973949
]
974950
},

0 commit comments

Comments
 (0)