Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fdt
Commits
57b29e76
Commit
57b29e76
authored
17 years ago
by
Matthew Webster
Browse files
Options
Downloads
Patches
Plain Diff
3 fixes for saad
parent
a1259451
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fdtx.tcl
+4
-6
4 additions, 6 deletions
fdtx.tcl
with
4 additions
and
6 deletions
fdtx.tcl
+
4
−
6
View file @
57b29e76
...
@@ -384,7 +384,7 @@ proc fdt:dialog { w tclstartupfile } {
...
@@ -384,7 +384,7 @@ proc fdt:dialog { w tclstartupfile } {
set probtrack
(
loopcheck_yn
)
1
set probtrack
(
loopcheck_yn
)
1
checkbutton $w.options.loopcheck -text
"Loopcheck"
-variable probtrack
(
loopcheck_yn
)
checkbutton $w.options.loopcheck -text
"Loopcheck"
-variable probtrack
(
loopcheck_yn
)
collapsible frame $w.advanced -title
"Advanced Options"
collapsible frame $w.advanced -title
"Advanced Options"
-command
"
$w.probtrack
compute_size; set dummy"
set probtrack
(
nsteps
)
2000
set probtrack
(
nsteps
)
2000
LabelSpinBox $w.advanced.nsteps -label
"Maximum number of steps"
-textvariable probtrack
(
nsteps
)
-range
{
2 1000000 10
}
-width 6
LabelSpinBox $w.advanced.nsteps -label
"Maximum number of steps"
-textvariable probtrack
(
nsteps
)
-range
{
2 1000000 10
}
-width 6
...
@@ -458,6 +458,7 @@ proc fdt:probtrack_mode { w } {
...
@@ -458,6 +458,7 @@ proc fdt:probtrack_mode { w } {
global probtrack
global probtrack
pack forget $w.data.seed.voxel $w.data.seed.ssf $w.data.seed.menu $w.data.seed.reference $w.data.seed.bcf $w.data.seed.target $w.data.targets.cf
pack forget $w.data.seed.voxel $w.data.seed.ssf $w.data.seed.menu $w.data.seed.reference $w.data.seed.bcf $w.data.seed.target $w.data.targets.cf
$w.data.dir configure -label
"Output directory:"
-title
"Name the output directory"
-filetypes *
switch -- $probtrack
(
mode
)
{
switch -- $probtrack
(
mode
)
{
simple
{
simple
{
pack $w.data.seed.ssf $w.data.seed.voxel -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.ssf $w.data.seed.voxel -in $w.data.seed.f -side bottom -anchor w -pady 2
...
@@ -469,14 +470,10 @@ proc fdt:probtrack_mode { w } {
...
@@ -469,14 +470,10 @@ proc fdt:probtrack_mode { w } {
pack $w.data.seed.ssf $w.data.seed.bcf -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.ssf $w.data.seed.bcf -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.menu $w.data.seed.reference -in $w.data.seed.f -side left -anchor w -pady 2
pack $w.data.seed.menu $w.data.seed.reference -in $w.data.seed.f -side left -anchor w -pady 2
pack $w.data.targets.cf -in $w.data.targets.f -anchor w
pack $w.data.targets.cf -in $w.data.targets.f -anchor w
$w.data.seed.reference configure -label
"Mask image:"
-title
"Choose mask image"
$w.data.seed.reference configure -label
"Mask image:"
-title
"Choose mask image"
$w.data.dir configure -label
"Output directory:"
-title
"Name the output directory"
-filetypes *
}
}
network
{
network
{
pack $w.data.seed.target $w.data.seed.ssf $w.data.seed.menu -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.seed.target $w.data.seed.ssf $w.data.seed.menu -in $w.data.seed.f -side bottom -anchor w -pady 2
pack $w.data.targets.cf -in $w.data.targets.f -anchor w
$w.data.dir configure -label
"Output directory:"
-title
"Name the output directory"
-filetypes *
}
}
}
}
$w.probtrack compute_size
$w.probtrack compute_size
...
@@ -728,7 +725,8 @@ proc fdt:apply { w dialog } {
...
@@ -728,7 +725,8 @@ proc fdt:apply { w dialog } {
network
{
network
{
set flags
"
$flags
--network"
set flags
"
$flags
--network"
set probtrack
(
mode
)
seedmask
set probtrack
(
mode
)
seedmask
set probtrack
(
reference2
)
$probtrack
(
reference
)
fdt_exp w $w.data.seed.targets $probtrack
(
output
)
/masks.txt
set probtrack
(
reference2
)
$probtrack
(
output
)
/masks.txt
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment