Commit 2e6c0aa6 authored by samuel hanot's avatar samuel hanot

guess the root directory from map file

parent 1b8c06a3
......@@ -57,6 +57,13 @@ bindir=${0:h}
impdir=~/imp-fast/
gmconvert=${bindir}/gmconvert/gmconvert
init_dir=$PWD
map_root_dir=$(dirname $map_name)
map_name=$(basename $map_name)
cd $map_root_dir
mkdir -p converged
for ((i=$i0 ; i<=N ; i++))
do
......@@ -119,3 +126,4 @@ do
gnuplot ${bindir}/plot_fsc.gpl > /dev/null 2>&1
rm -f tmp*
done
cd $init_dir
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