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
e84247ef
Commit
e84247ef
authored
Sep 18, 2021
by
Fidel Alfaro Almagro
Browse files
Correcting error in bb_asl_proc --> The script fails if there are no json files
parent
172c3489
Changes
1
Hide whitespace changes
Inline
Side-by-side
bb_asl_pipeline/bb_asl_proc
View file @
e84247ef
...
...
@@ -40,8 +40,10 @@ if [ ! -z $src/ASL/BASIL/ ]; then
fi
fi
for
fil
in
$src
/ASL/raw/
*
.json
;
do
bb_read_json_field.py
-F
$fil
-f
PhaseEncodingDirection
;
for
fil
in
$src
/ASL/raw/
*
.json
;
do
if
[
-f
$fil
]
;
then
bb_read_json_field.py
-F
$fil
-f
PhaseEncodingDirection
;
fi
done
>
$src
/ASL/BASIL/grot.txt
t
=
`
cat
$src
/ASL/BASIL//grot.txt |
grep
i |
wc
-l
`
...
...
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