Skip to content

Commit 4b67eb2

Browse files
committed
Merge branch 'main' of https://github.com/styx-api/niwrap
2 parents 3e06e94 + 2fd6730 commit 4b67eb2

5 files changed

Lines changed: 84 additions & 5 deletions

File tree

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"name": "SetDirectionByMatrix"
2+
"name": "SetDirectionByMatrix",
3+
"source": {
4+
"type": "boutiques",
5+
"path": "boutiques.json"
6+
},
7+
"docs": {
8+
"description": "Sets the direction matrix of an image. The direction matrix values are provided as space-separated floating-point numbers in row-major order."
9+
}
310
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "SetDirectionByMatrix",
3+
"command-line": "SetDirectionByMatrix [INFILE] [OUTFILE] [DIRECTION_MATRIX]",
4+
"author": "ANTs Developers",
5+
"description": "Sets the direction matrix of an image. The direction matrix values are provided as space-separated floating-point numbers in row-major order (e.g. d00 d01 d02 d10 d11 d12 d20 d21 d22 for a 3D image).",
6+
"url": "https://github.com/ANTsX/ANTs",
7+
"schema-version": "0.5+styx",
8+
"inputs": [
9+
{
10+
"id": "infile",
11+
"name": "Input file",
12+
"value-key": "[INFILE]",
13+
"type": "File",
14+
"optional": false,
15+
"description": "The input image file."
16+
},
17+
{
18+
"id": "outfile",
19+
"name": "Output file",
20+
"value-key": "[OUTFILE]",
21+
"type": "String",
22+
"optional": false,
23+
"description": "The output image file."
24+
},
25+
{
26+
"id": "direction_matrix",
27+
"name": "Direction matrix",
28+
"value-key": "[DIRECTION_MATRIX]",
29+
"type": "Number",
30+
"list": true,
31+
"optional": false,
32+
"description": "Direction matrix values in row-major order. For a 2D image provide 4 values (d00 d01 d10 d11), for 3D provide 9 values (d00 d01 d02 d10 d11 d12 d20 d21 d22), for 4D provide 16 values."
33+
}
34+
],
35+
"output-files": [
36+
{
37+
"id": "outfile",
38+
"name": "Output file",
39+
"description": "The output image with the new direction matrix applied.",
40+
"path-template": "[OUTFILE]"
41+
}
42+
]
43+
}

src/niwrap/ants/2.5.3/antsRegistration/boutiques.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
{
182182
"id": "initial_moving_transform_use_inverse",
183183
"name": "Initial moving transform",
184-
"command-line": "[INITIAL_MOVING_TRANSFORM][USE_INVERSE]",
184+
"command-line": "[[INITIAL_MOVING_TRANSFORM][USE_INVERSE]]",
185185
"inputs": [
186186
{
187187
"id": "initial_moving_transform",

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

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,37 @@
8282
"value-key": "[OP_MUL]",
8383
"id": "mul",
8484
"name": "Multiply",
85-
"type": "Number",
86-
"description": "Multiply current image by following input",
85+
"type": [
86+
{
87+
"id": "mul_value",
88+
"name": "Multiply by value",
89+
"command-line": "[MUL_VALUE]",
90+
"inputs": [
91+
{
92+
"id": "value",
93+
"name": "Value",
94+
"value-key": "[MUL_VALUE]",
95+
"type": "Number",
96+
"optional": false
97+
}
98+
]
99+
},
100+
{
101+
"id": "mul_image",
102+
"name": "Multiply by image",
103+
"command-line": "[MUL_IMAGE]",
104+
"inputs": [
105+
{
106+
"id": "image",
107+
"name": "Image",
108+
"value-key": "[MUL_IMAGE]",
109+
"type": "File",
110+
"optional": false
111+
}
112+
]
113+
}
114+
],
115+
"description": "Multiply current image by following input (a number or an image)",
87116
"optional": false,
88117
"command-line-flag": "-mul"
89118
}

src/niwrap/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "niwrap",
3-
"version": "0.8.8",
3+
"version": "0.8.9",
44
"license": "MIT",
55
"packages": [
66
"afni",

0 commit comments

Comments
 (0)