Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
melodic
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
melodic
Commits
f7614910
Commit
f7614910
authored
21 years ago
by
Mark Jenkinson
Browse files
Options
Downloads
Patches
Plain Diff
Lots of gzip script compatibility updates
parent
c8a80ec3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
melodicreport
+16
-2
16 additions, 2 deletions
melodicreport
with
16 additions
and
2 deletions
melodicreport
+
16
−
2
View file @
f7614910
#!/bin/sh
# melodicreport - makes the report page for melodic
#
# Christian Beckmann, Stephen Smith and Mark Jenkinson
# FMRIB Image Analysis Group
#
# Copyright (C) 1999-2004 University of Oxford
#
# SHCOPYRIGHT
# the next line restarts using wish \
exec
$FSLDIR
/bin/tclsh
"
$0
"
"
$@
"
...
...
@@ -22,8 +31,13 @@ set FSLDIR $env(FSLDIR)
set
MD
[
lindex
$argv
0
]
catch
{
exec
sh
-c
"mkdir
${
MD
}
/report"
}
if
{
!
[
file exists
${
MD
}
/melodic_IC.hdr
]
||
!
[
file exists
${
MD
}
/melodic_IC.img
]
}
{
puts
"No MELODIC output melodic_IC.hdr/.img - exiting."
if
{
!
[
file exists
${
MD
}
/melodic_IC.hdr
]
&&
!
[
file exists
${
MD
}
/melodic_IC.hdr.gz
]
}
{
puts
"No MELODIC output melodic_IC - exiting."
exit
}
if
{
!
[
file exists
${
MD
}
/melodic_IC.img
]
&&
!
[
file exists
${
MD
}
/melodic_IC.img.gz
]
}
{
puts
"No MELODIC output melodic_IC - exiting."
exit
}
...
...
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