Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siena
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
siena
Commits
7acf121f
Commit
7acf121f
authored
17 years ago
by
Duncan Mortimer
Browse files
Options
Downloads
Patches
Plain Diff
Changed usage to exit with 1 when command line used incorrectly
parent
79e29dfc
No related branches found
No related tags found
No related merge requests found
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
lesions_0.1
+1
-1
1 addition, 1 deletion
lesions_0.1
lesions_0.2
+1
-1
1 addition, 1 deletion
lesions_0.2
lesions_0.3
+1
-1
1 addition, 1 deletion
lesions_0.3
siena
+1
-1
1 addition, 1 deletion
siena
siena_flow2std
+1
-1
1 addition, 1 deletion
siena_flow2std
sienax
+1
-1
1 addition, 1 deletion
sienax
with
6 additions
and
6 deletions
lesions_0.1
+
1
−
1
View file @
7acf121f
...
...
@@ -14,7 +14,7 @@
if
[
_
${
2
}
=
_
]
;
then
echo
"Usage: lesions <t1_root> <t2_root> [-f]"
echo
"-f : second image is FLAIR not t2"
exit
exit
1
fi
nclasses
=
3
...
...
This diff is collapsed.
Click to expand it.
lesions_0.2
+
1
−
1
View file @
7acf121f
...
...
@@ -15,7 +15,7 @@ if [ _$2 = _ ] ; then
echo
"Usage: lesions <t1_root> <t2_root> [-f] [-lt <thr>]"
echo
"-f : second image is FLAIR not T2"
echo
"-lt <thr> : set lesion threshold (default 0.5)"
exit
exit
1
fi
A
=
$1
...
...
This diff is collapsed.
Click to expand it.
lesions_0.3
+
1
−
1
View file @
7acf121f
...
...
@@ -16,7 +16,7 @@ if [ _$2 = _ ] ; then
echo
"Usage: lesions <t1_root> <t2_root> [-f] [-lt <thr>]"
echo
"-f : second image is FLAIR not T2"
echo
"-lt <thr> : set lesion threshold (default 0.5)"
exit
exit
1
fi
A
=
$1
...
...
This diff is collapsed.
Click to expand it.
siena
+
1
−
1
View file @
7acf121f
...
...
@@ -21,7 +21,7 @@ Usage() {
echo
"-b <b> : ignore from b (mm) downwards in MNI152/Talairach space; b should probably be -ve"
echo
"-S
\"
sienadiffopts
\"
: options to pass to siena_diff timepoint differencing (inside double-quotes), e.g. -S
\"
-s -i 20
\"
"
echo
""
exit
exit
1
}
if
[
_
$FSLDIR
=
_
]
;
then
...
...
This diff is collapsed.
Click to expand it.
siena_flow2std
+
1
−
1
View file @
7acf121f
...
...
@@ -12,7 +12,7 @@
Usage
()
{
echo
"Usage: siena_flow2std <fileroot2> <fileroot2> [-d]"
echo
"-d : debug (don't delete intermediate files)"
exit
exit
1
}
if
[
_
$FSLDIR
=
_
]
;
then
...
...
This diff is collapsed.
Click to expand it.
sienax
+
1
−
1
View file @
7acf121f
...
...
@@ -22,7 +22,7 @@ Usage() {
echo
"-lm <mask> : use lesion (or lesion+CSF) mask to remove incorrectly labelled
\"
grey matter
\"
voxels"
echo
"-S
\"
segopts
\"
: options to pass to FAST segmentation (inside double-quotes), e.g. -S
\"
-i 20
\"
"
echo
""
exit
exit
1
}
if
[
_
$FSLDIR
=
_
]
;
then
...
...
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