Commit 8727dc39 authored by samuel hanot's avatar samuel hanot
Browse files

allow passing the same types of arguments for and

parent d66c0e6b
......@@ -11,12 +11,13 @@ do
echo $f
rsync -a -v -z --delete${f}/ $f
cd $f
curl$f/analysis > header/map_analysis.html
cutoff=$(awk '/contour/{print $4}' < header/map_analysis.html)
#curl$f/analysis > header/map_analysis.html
#cutoff=$(awk '/contour/{print $4}' < header/map_analysis.html)
cutoff=$(tr '<>' ' ' < header/emd-$f.xml | awk '/contour/{print $3}')
resolution=$(sed -ne 's/[<>/ ]//g' -ne 's/resolutionByAuthor//gp' header/emd-${f}.xml)
echo ${cutoff} > cutoff.txt
echo ${resolution} > resolution.txt
gunzip -c map/emd_${f}.map.gz > emd_${f}.map
${rec_gmconvert} -f emd_${f}.map -t $cutoff -n $1 -N $2
${rec_gmconvert} -f emd_${f}.map -t $cutoff $@
cd -
Markdown is supported
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