Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
misc_scripts
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
misc_scripts
Commits
90f2f1f6
Commit
90f2f1f6
authored
17 years ago
by
Duncan Mortimer
Browse files
Options
Downloads
Patches
Plain Diff
Exit 1 on failure and change to use /bin/sh
parent
b3045380
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
remove_vols
+2
-2
2 additions, 2 deletions
remove_vols
replace_and_average_fmrib
+2
-2
2 additions, 2 deletions
replace_and_average_fmrib
with
4 additions
and
4 deletions
remove_vols
+
2
−
2
View file @
90f2f1f6
#!/
usr/local/
bin/
ba
sh
#!/bin/sh
# preprocessing for DTI images acquired at FMRIB
Usage
()
{
...
...
@@ -10,7 +10,7 @@ echo "example: remove_vols data data_rv 4 19 35"
echo
""
echo
"Note that the first volume is 0 and not 1"
echo
""
exit
exit
1
}
[
"
$1
"
=
""
]
&&
Usage
...
...
This diff is collapsed.
Click to expand it.
replace_and_average_fmrib
+
2
−
2
View file @
90f2f1f6
#!/
usr/local/
bin/
ba
sh
#!/bin/sh
#averages multiple repeats and simultaneously remove dodgy volumes
#to be used after regscript - for DTI images acquired at FMRIB
...
...
@@ -29,7 +29,7 @@ echo "you should therefore type something like - "
echo
" replace_and_average_fmrib 3 4 5 73 82 166"
echo
"_________________________________________________________________________"
exit
exit
1
}
#===================================================================
...
...
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