Skip to content

Commit 3911610

Browse files
committed
make voxel size and out shape int type
1 parent a9ce73b commit 3911610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/cmdline/conform.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def _get_parser():
2727
help="Neuroimaging volume to conform.")
2828
p.add_argument("outfile",
2929
help="Name of output file.")
30-
p.add_argument("--out-shape", nargs=3, default=(256, 256, 256),
30+
p.add_argument("--out-shape", nargs=3, default=(256, 256, 256), type=int,
3131
help="Shape of the conformed output.")
32-
p.add_argument("--voxel-size", nargs=3, default=(1, 1, 1),
32+
p.add_argument("--voxel-size", nargs=3, default=(1, 1, 1), type=int,
3333
help="Voxel size in millimeters of the conformed output.")
3434
p.add_argument("--orientation", default="RAS",
3535
help="Orientation of the conformed output.")

0 commit comments

Comments
 (0)