if {$registration(struct_yn)}{ pack $w.registration.struct.yn $w.registration.struct.tf -side left -anchor w } else { pack $w.registration.struct.yn $w.registration.struct.lb -side left -anchor w}
if {$registration(standard_yn)}{ pack $w.registration.standard.yn $w.registration.standard.tf -side left -anchor w } else { pack $w.registration.standard.yn $w.registration.standard.lb -side left -anchor w}
if { $registration(struct_yn)}{ pack $w.registration.struct.yn $w.registration.struct.tf -side left -anchor w } else { pack $w.registration.struct.yn $w.registration.struct.lb -side left -anchor w}
if { $registration(struct_yn)}{ pack $w.registration.nonlin.yn -side left }
if { $registration(struct_yn) && $registration(nonlin_yn)}{ pack $w.registration.nonlin.file -side left }
if { $registration(standard_yn)}{ pack $w.registration.standard.yn $w.registration.standard.tf -side left -anchor w } else { pack $w.registration.standard.yn $w.registration.standard.lb -side left -anchor w}
}
registration_packframe $w
...
...
@@ -474,16 +483,17 @@ proc fdt:probtrack_mode { w } {
pack $w.data.seed.target -in $w.data.seed.f -side bottom -anchor w -pady 2
}
}
if { $probtrack(waypoint_yn)}{ pack $w.data.targets.wf.tf }
if { $probtrack(classify_yn)}{ pack $w.data.targets.cf.tf }
if { $probtrack(usereference_yn)}{ $w.data.seed.ssf.nonlinear pack $w.data.seed.ssf.xfm -side bottom -anchor w -pady 2 }
if { $probtrack(usereference_yn)}{pack $w.data.seed.ssf.nonlinear $w.data.seed.ssf.xfm -side top -anchor w -pady 2 }
$w.probtrack compute_size
}
...
...
@@ -600,7 +610,8 @@ proc fdt:apply { w dialog } {
set errorStr ""
if { $eddy(input) == ""}{ set errorStr "You need to specify the input image! "}
if { $eddy(output) == ""}{ set errorStr "$errorStr You need to specify an output image!"}
if { $eddy(reorientbVecs) && $errorStr != ""}{ set errorStr "$errorStr You need to specify a bvecs image!"}
if { $eddy(reorientbVecs)}{ set errorStr "$errorStr You need to specify a bvecs image!"}
if { $errorStr != ""}{
MxPause $errorStr
return
}
...
...
@@ -688,6 +699,7 @@ proc fdt:apply { w dialog } {
if { $probtrack(mode) == "simple" && $probtrack(usereference_yn) && $probtrack(reference) == ""}{ set errorStr "$errorStr You must specify a reference image"}
if { $probtrack(mode) == "seedmask" && $probtrack(reference) == ""}{ set errorStr "$errorStr You must specify a mask image"}
if { $probtrack(exclude_yn) && $probtrack(exclude) == ""}{ set errorStr "$errorStr You must specify the exclusion mask!"}
if { $probtrack(useNonlinear) && $probtrack(usereference_yn) && $probtrack(invxfm) == ""}{ set errorStr "$errorStr You must specify the inverse transform!"}
if { $probtrack(terminate_yn) && $probtrack(stop) == ""}{ set errorStr "$errorStr You must specify the termination mask!"}
if { $probtrack(output) == ""}{ set errorStr "$errorStr You must specify the output basename!"}
if { $registration(directory) == ""}{ set errorStr "You must specify the bedpostX directory!"}
if { $registration(struct_yn) && $registration(struct_image) == ""}{ set errorStr "$errorStr You must specify the structural image!"}
if { $registration(standard_yn) && $registration(standard_image) == ""}{ set errorStr "$errorStr You must specify the standard image!"}
if { $registration(struct_yn) && $registration(nonlin_yn) && $registration(nonlin_image) == ""}{ set errorStr "$errorStr You must specify the non-betted structural image!"}
if { $registration(standard_yn) && == ""}{ set errorStr "$errorStr You must specify the standard image!"}