Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bo-Chun Chen
fsqc
Commits
742c24a2
Commit
742c24a2
authored
Oct 12, 2020
by
Bo-Chun Chen
Browse files
Update fsqc.sh
Remove lines that create lr.tif Use hr directly in index.html
parent
ffe3f16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsqc.sh
View file @
742c24a2
#!/bin/bash
echo
"<html>"
>
index.html
echo
"<table>"
>>
index.html
echo
"<html>"
>
index.html
echo
"<table>"
>>
index.html
for
sub
in
$(
ls
${
SUBJECTS_DIR
}
)
;
do
echo
"<tr>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".lh.lat.hr.png
\"
><img src=
\"
"
$sub
".lh.lat.
l
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".lh.med.hr.png
\"
><img src=
\"
"
$sub
".lh.med.
l
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".rh.lat.hr.png
\"
><img src=
\"
"
$sub
".rh.lat.
l
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".rh.med.hr.png
\"
><img src=
\"
"
$sub
".rh.med.
l
r.png
\"
></a></td>"
>>
index.html
echo
"</tr>"
>>
index.html
echo
"<tr>"
>>
index.html
echo
"<td colspan=4><center>"
$sub
"</center><br></td>"
>>
index.html
echo
"</tr>"
>>
index.html
echo
"<tr>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".lh.lat.hr.png
\"
><img
width=
\"
300
\"
src=
\"
"
$sub
".lh.lat.
h
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".lh.med.hr.png
\"
><img
width=
\"
300
\"
src=
\"
"
$sub
".lh.med.
h
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".rh.lat.hr.png
\"
><img
width=
\"
300
\"
src=
\"
"
$sub
".rh.lat.
h
r.png
\"
></a></td>"
>>
index.html
echo
"<td><a href=
\"
file:"
$sub
".rh.med.hr.png
\"
><img
width=
\"
300
\"
src=
\"
"
$sub
".rh.med.
h
r.png
\"
></a></td>"
>>
index.html
echo
"</tr>"
>>
index.html
echo
"<tr>"
>>
index.html
echo
"<td colspan=4><center>"
$sub
"</center><br></td>"
>>
index.html
echo
"</tr>"
>>
index.html
echo
"labl_import_annotation
\"
aparc.annot
\"
"
>
tmp.tcl
...
...
@@ -22,13 +22,6 @@ do
echo
"rotate_brain_y 180.0"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".lh.med.hr.tif"
>>
tmp.tcl
echo
"resize_window 300"
>>
tmp.tcl
echo
"rotate_brain_y -180.0"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".lh.lat.lr.tif"
>>
tmp.tcl
echo
"rotate_brain_y 180.0"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".lh.med.lr.tif"
>>
tmp.tcl
echo
"exit 0"
>>
tmp.tcl
tksurfer
$sub
lh pial
-tcl
tmp.tcl
...
...
@@ -39,13 +32,6 @@ do
echo
"rotate_brain_y 180.0"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".rh.med.hr.tif"
>>
tmp.tcl
echo
"rotate_brain_y -180.0"
>>
tmp.tcl
echo
"resize_window 300"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".rh.lat.lr.tif"
>>
tmp.tcl
echo
"rotate_brain_y 180.0"
>>
tmp.tcl
echo
"redraw"
>>
tmp.tcl
echo
"save_tiff "
$sub
".rh.med.lr.tif"
>>
tmp.tcl
echo
"exit 0"
>>
tmp.tcl
tksurfer
$sub
rh pial
-tcl
tmp.tcl
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment