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.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(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) && $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}
set singleFileName [ file tail $probtrack(output)]
set singleFileName [ file tail $probtrack(output)]
set fd [ open "${filebase}_coordinates.txt" w ]
set fd [ open "${filebase}_coordinates.txt" w ]
...
@@ -884,8 +860,7 @@ proc fdt:apply { w dialog } {
...
@@ -884,8 +860,7 @@ proc fdt:apply { w dialog } {
set errorStr ""
set errorStr ""
if { $registration(directory) == ""}{ set errorStr "You must specify the bedpostX directory!"}
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(struct_yn) && $registration(struct_image) == ""}{ set errorStr "$errorStr You must specify the structural 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) && $registration(standard_image) == ""}{ set errorStr "$errorStr You must specify the standard image!"}
if { $registration(standard_yn) && == ""}{ set errorStr "$errorStr You must specify the standard image!"}