Skip to content

Commit 6f7063d

Browse files
committed
FIX: Polish arguments
1 parent 815b944 commit 6f7063d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nibabies/interfaces/workbench.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ class CiftiDilateInputSpec(CommandLineInputSpec):
1414
"ROW",
1515
"COLUMN",
1616
mandatory=True,
17+
argstr="%s",
1718
position=1,
1819
desc="Which dimension to dilate along, ROW or COLUMN",
1920
)
2021
surface_distance = traits.Int(
2122
mandatory=True,
23+
argstr="%d",
2224
position=2,
2325
desc="The distance to dilate on surfaces, in mm",
2426
)
2527
volume_distance = traits.Int(
2628
mandatory=True,
29+
argstr="%d",
2730
position=3,
2831
desc="The distance to dilate in the volume, in mm",
2932
)
@@ -37,7 +40,6 @@ class CiftiDilateInputSpec(CommandLineInputSpec):
3740
)
3841
left_surface = File(
3942
exists=True,
40-
mandatory=True,
4143
position=5,
4244
argstr="-left-surface %s",
4345
desc="Specify the left surface to use",
@@ -51,7 +53,6 @@ class CiftiDilateInputSpec(CommandLineInputSpec):
5153
)
5254
right_surface = File(
5355
exists=True,
54-
mandatory=True,
5556
position=7,
5657
argstr="-right-surface %s",
5758
desc="Specify the right surface to use",
@@ -72,7 +73,7 @@ class CiftiDilateInputSpec(CommandLineInputSpec):
7273
cerebellum_corrected_areas = File(
7374
exists=True,
7475
position=10,
75-
requires=["cerebellum_surf"],
76+
requires=["cerebellum_surface"],
7677
argstr="-cerebellum-corrected-areas %s",
7778
desc="vertex areas (as a metric) to use instead of computing them from the cerebellum "
7879
"surface",

0 commit comments

Comments
 (0)