Skip to content

Commit 99ac5fe

Browse files
committed
Correct bugs linked to parameters change
1 parent 797ae50 commit 99ac5fe

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

diffusion/mcm_fiber_atlas_comparison/animaSubjectsMCMFiberPreparation.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@
3838
parser.add_argument('-s', '--start-subject', type=int, default=1, help="Subject to start with")
3939

4040
parser.add_argument('-i', '--dw-images-prefix', type=str, required=True, help='DW images prefix (folder + basename)')
41-
parser.add_argument('-d', '--dw-dicom-folders-prefix', type=str, default="", help='Dicom folders prefixes (will append '
42-
'_n to them')
41+
parser.add_argument('-d', '--dw-dicom-folders-prefix', type=str, default="", help='Dicom folders prefixes (will append _n to them, where n is the image number)')
4342
parser.add_argument('-t', '--t1-images-prefix', type=str, required=True, help='T1 images prefix (folder + basename)')
4443
parser.add_argument('--type', type=str, default="tensor", help="Type of compartment model for fascicles (stick, zeppelin, tensor, noddi, ddi)")
4544

4645
parser.add_argument('--dw-without-reversed-b0', action='store_true', help="No reversed B0 provided with the DWIs")
4746

48-
parser.add_argument('-b', '--bvalue-extract', type=int, default=0, help="Extract only a specific b-value for TractSeg (recommended for CUSP")
47+
parser.add_argument('-b', '--bvalue-extract', type=int, default=0, help="Extract only a specific b-value for TractSeg (recommended for CUSP)")
4948

5049
args = parser.parse_args()
5150

relaxometry/animaT2RelaxometryExtraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
if os.path.splitext(args.mono_out)[1] == '.gz':
113113
outPrefix = os.path.splitext(outPrefix)[0]
114114

115-
monoT2Command = [animaDir + "animaT2EPGRelaxometryEstimation", "-l", inputImage, "-o", args.mono_out, "--tr", str(args.tr_value),
115+
monoT2Command = [animaDir + "animaT2EPGRelaxometryEstimation", "-i", inputImage, "-o", args.mono_out, "--tr", str(args.tr_value),
116116
"-e", str(args.echo_spacing), "--out-b1", outPrefix + "_B1.nrrd", "-O", outPrefix + "_M0.nrrd"]
117117

118118
if maskImage != "":

0 commit comments

Comments
 (0)