Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
avwutils
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
avwutils
Commits
7540d4db
Commit
7540d4db
authored
20 years ago
by
Mark Jenkinson
Browse files
Options
Downloads
Patches
Plain Diff
Changed strategy for writing
parent
8d7601bd
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
test_read.sh
+4
-3
4 additions, 3 deletions
test_read.sh
test_write.sh
+5
-1
5 additions, 1 deletion
test_write.sh
with
9 additions
and
4 deletions
test_read.sh
+
4
−
3
View file @
7540d4db
#!/bin/sh
for
fn
in
../niftiio/epi?.
*
;
do
echo
" XXXXXXX
$fn
XXXXXXX "
./avwstats++
$fn
-p
98
-p
99
for
fn
in
epimj?.
*
episs?.
*
;
do
echo
" XXXXXXX
$fn
XXXXXXX "
./avwstats
$fn
-m
-M
-v
-V
-r
./avwstats++
$fn
-m
-M
-v
-V
-r
done
>
& log_testread.txt
cat
log_testread.txt
...
...
This diff is collapsed.
Click to expand it.
test_write.sh
+
5
−
1
View file @
7540d4db
...
...
@@ -6,10 +6,14 @@ for fn in ANALYZE:1 NIFTI_PAIR:2 NIFTI:3 ANALYZE_GZ:4 NIFTI_PAIR_GZ:5 NIFTI_GZ:6
num
=
`
echo
$fn
|
sed
's/.*://'
`
;
opt
=
`
echo
$fn
|
sed
's/:.*//'
`
;
export
FSLOUTPUTTYPE
=
$opt
echo
FSLOUTPUTTYPE
=
$opt
echo
./avwswapdim epi4 y z x epimj
${
num
}
./avwswapdim epi4 y z x epimj
${
num
}
echo
./avwmaths_32R epi4
-mul
0.001 episs
${
num
}
./avwmaths_32R epi4
-mul
0.001 episs
${
num
}
done
for
fn
in
epimj[1-6].
*
;
do
for
fn
in
epimj[1-6].
*
episs[1-6].
*
;
do
val
=
`
../niftiio/nifti1_test
$fn
|
grep
nifti_type
`
;
echo
" XXXXX
$fn
XXXXX
$val
"
done
...
...
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