Skip to content

Commit 41b5e94

Browse files
authored
Merge pull request #288 from styx-api/fix/ants-printheader-output
Fix ants printheader; bump version
2 parents a9c9b0d + 26a908e commit 41b5e94

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "PrintHeader",
33
"command-line": "PrintHeader [IMAGE] [WHAT_INFORMATION]",
44
"author": "ANTs Developers",
5-
"description": "A utility to print header information from an image file.",
5+
"description": "Prints header information from a medical image file. When called with only an image, prints a full header dump including dimensions, bounding box, origin, spacing, intensity range and mean, canonical orientation code, direction cosine matrix, and all image metadata. When called with a specific information code, prints only that property.",
66
"url": "https://github.com/ANTsX/ANTs",
77
"schema-version": "0.5+styx",
88
"inputs": [
@@ -12,7 +12,7 @@
1212
"value-key": "[IMAGE]",
1313
"type": "File",
1414
"optional": false,
15-
"description": "The image file to extract header information from. Supported extension: .ext."
15+
"description": "Input image file (any format supported by ITK, e.g. NIfTI, NRRD, MetaImage). Supports 1D through 5D images."
1616
},
1717
{
1818
"id": "what_information",
@@ -28,15 +28,12 @@
2828
3,
2929
4
3030
],
31-
"description": "Specify the type of information to print: 0 for origin, 1 for spacing, 2 for size, 3 for index, 4 for direction."
31+
"description": "Specify which header field to print: 0 = origin, 1 = spacing, 2 = size, 3 = index, 4 = direction. Values are printed as 'x'-delimited strings. If omitted, prints a full header dump."
3232
}
3333
],
34-
"output-files": [
35-
{
36-
"id": "output",
37-
"name": "Output",
38-
"description": "The printed header information from the specified image.",
39-
"path-template": "header_info.txt"
40-
}
41-
]
42-
}
34+
"stdout-output": {
35+
"id": "output",
36+
"name": "Output",
37+
"description": "The requested header information. When a specific code is given, values are printed as 'x'-delimited strings (e.g. '1.0x1.0x1.0' for spacing). When no code is given, prints a formatted multi-line report of all header fields and metadata."
38+
}
39+
}

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.10",
3+
"version": "0.8.11",
44
"license": "MIT",
55
"packages": [
66
"afni",

0 commit comments

Comments
 (0)