Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Fidel Alfaro Almagro
UK_biobank_pipeline_v_1.5
Commits
b5a072b4
Commit
b5a072b4
authored
Nov 15, 2021
by
Fidel Alfaro Almagro
Browse files
Update bb_swi_reg
parent
f7eb116f
Changes
1
Hide whitespace changes
Inline
Side-by-side
bb_structural_pipeline/bb_swi_reg
View file @
b5a072b4
...
@@ -11,8 +11,18 @@ fi
...
@@ -11,8 +11,18 @@ fi
cd
$1
/SWI
cd
$1
/SWI
T1dir
=
"../T1/"
T1dir
=
"../T1/"
complex_phase
=
$(
cat
complex_phase.txt
)
num_coils
=
$(
cat
num_coils.txt
)
if
[
-f
complex_phase.txt
]
;
then
complex_phase
=
$(
cat
complex_phase.txt
)
else
echo
0
>
complex_phase.txt
fi
if
[
-f
num_coils.txt
]
;
then
num_coils
=
$(
cat
num_coils.txt
)
else
echo
32
>
num_coils.txt
fi
if
[
-d
$T1dir
/unusable
]
;
then
if
[
-d
$T1dir
/unusable
]
;
then
T1dir
=
"../T1/unusable/"
T1dir
=
"../T1/unusable/"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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