Skip to content
Snippets Groups Projects
Commit 2e6c0aa6 authored by samuel hanot's avatar samuel hanot
Browse files

guess the root directory from map file

parent 1b8c06a3
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment