Skip to content
Snippets Groups Projects
Commit 48a1da17 authored by Stephen Smith's avatar Stephen Smith
Browse files

*** empty log message ***

parent 3ac99389
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ tixWidgetClass registrationImageSelect { ...@@ -30,7 +30,7 @@ tixWidgetClass registrationImageSelect {
{-filename filename Filename {}} {-filename filename Filename {}}
{-search search Search N} {-search search Search N}
{-dof dof DOF N} {-dof dof DOF N}
{-pattern pattern Pattern "*.{hdr,hdr.gz}"} {-pattern pattern Pattern "*.{hdr,hdr.gz,nii,nii.gz}"}
} }
} }
...@@ -109,7 +109,7 @@ tixWidgetClass multiFileSelect { ...@@ -109,7 +109,7 @@ tixWidgetClass multiFileSelect {
{-label label Label "File"} {-label label Label "File"}
{-directory directory Directory {}} {-directory directory Directory {}}
{-filterhist filterhist Filterhist {}} {-filterhist filterhist Filterhist {}}
{-pattern pattern Pattern "*.{hdr,hdr.gz}"} {-pattern pattern Pattern "*.{hdr,hdr.gz,nii,nii.gz}"}
{-title title Title "Select a file"} {-title title Title "Select a file"}
} }
} }
...@@ -371,10 +371,8 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -371,10 +371,8 @@ proc fdt:dialog { w tclstartupfile } {
set struct [ file join $dirname struct_brain ] set struct [ file join $dirname struct_brain ]
if { [ file exists ${struct}.gz] } { if { [ imtest $struct ] } {
set registration(struct_image) ${struct}.hdr.gz set registration(struct_image) $struct
} elseif { [ file exists $struct] } {
set registration(struct_image) ${struct}.hdr
} else { } else {
set registration(struct_image) "" set registration(struct_image) ""
} }
...@@ -433,7 +431,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -433,7 +431,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Diffusion weighted data:" \ -label "Diffusion weighted data:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose diffusion weighted image" \ -title "Choose diffusion weighted image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-command "ecc_update_files $w" \ -command "ecc_update_files $w" \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -444,7 +442,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -444,7 +442,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Corrected output data:" \ -label "Corrected output data:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose output image name" \ -title "Choose output image name" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
tixControl $w.ecc.refnum -label "Reference volume" \ tixControl $w.ecc.refnum -label "Reference volume" \
...@@ -505,7 +503,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -505,7 +503,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Diffusion weighted data:" \ -label "Diffusion weighted data:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose diffusion weighted image" \ -title "Choose diffusion weighted image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-command "dtifit_update_files $w" \ -command "dtifit_update_files $w" \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -516,7 +514,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -516,7 +514,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "BET binary brain mask:" \ -label "BET binary brain mask:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose BET brain mask file" \ -title "Choose BET brain mask file" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-command "set_working_directory dtifit(cwd)" \ -command "set_working_directory dtifit(cwd)" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -646,7 +644,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -646,7 +644,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Seed image:" \ -label "Seed image:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose seed image" \ -title "Choose seed image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-command "probtrack_update_files $w" \ -command "probtrack_update_files $w" \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -657,7 +655,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -657,7 +655,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Target image:" \ -label "Target image:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose target image" \ -title "Choose target image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-command "probtrack_update_files $w" \ -command "probtrack_update_files $w" \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -700,7 +698,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -700,7 +698,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Seed space reference image:" \ -label "Seed space reference image:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose reference image" \ -title "Choose reference image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -734,7 +732,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -734,7 +732,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Exclusion mask:" \ -label "Exclusion mask:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Select exclusion mask image" \ -title "Select exclusion mask image" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -750,7 +748,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -750,7 +748,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Low resolution mask:" \ -label "Low resolution mask:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose low resolution mask" \ -title "Choose low resolution mask" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
...@@ -775,7 +773,7 @@ proc fdt:dialog { w tclstartupfile } { ...@@ -775,7 +773,7 @@ proc fdt:dialog { w tclstartupfile } {
-label "Output:" \ -label "Output:" \
-labelwidth $LWIDTH \ -labelwidth $LWIDTH \
-title "Choose output file name" \ -title "Choose output file name" \
-pattern "*.{hdr,hdr.gz}" \ -pattern "IMAGE" \
-width 35 \ -width 35 \
-filterhist VARS(history) -filterhist VARS(history)
......
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