Commit e84247ef authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro
Browse files

Correcting error in bb_asl_proc --> The script fails if there are no json files

parent 172c3489
......@@ -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`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment