Skip to content
Snippets Groups Projects
Commit 7c25a4ed authored by Matthew Webster's avatar Matthew Webster
Browse files

new version

parent 3af7531e
No related branches found
No related tags found
No related merge requests found
......@@ -803,21 +803,9 @@ proc fdt:apply { w dialog } {
fdt_monitor_short $w "$FSLDIR/bin/probtrackx $flags"
if { $probtrack(classify_yn) == 1 } {
fdt_monitor_short $w "$FSLDIR/bin/find_the_biggest ${logdir}/seeds_to_* biggest >> ${logdir}/fdt_seed_classification.txt"
}
set script [open "${filebase}_script.sh" w]
puts "${filebase}_script.sh"
exec chmod 777 ${filebase}_script.sh
puts $script "#!/bin/sh"
puts $script "$FSLDIR/bin/probtrackx $flags"
if { $probtrack(classify_yn) == 1 } {
puts $script "$FSLDIR/bin/find_the_biggest ${logdir}/seeds_to_* biggest >> ${logdir}/fdt_seed_classification.txt"
}
puts $script "rm ${filebase}_coordinates.txt"
puts $script "mv $logfile $copylog"
puts $script "rm ${filebase}_script.sh"
close $script
fdt_monitor_short $w "$FSLDIR/bin/find_the_biggest $probtrack(output)/seeds_to_* biggest >> $probtrack(output)/fdt_seed_classification.txt"
}
}
}
if { !$FSLPARALLEL } {
if { $probtrack(mode) == "simple" } {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment