Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7282)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7284)
@@ -73,11 +73,17 @@
    esac
 
-   echo "getting list..." >> $scriptlog 2>&1
-   check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
-   
-   case $check0 in 
-       1)   echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;;
-       *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
-   esac
+   if  ls $todofile-[1-9]*.txt >> $scriptlog 2>&1
+   then
+      echo "other file(s) on disk " >> $scriptlog 2>&1
+      echo " -> choose one file and start calibrating" >> $scriptlog 2>&1
+   else
+      echo "getting list..." >> $scriptlog 2>&1
+      check0=`root -q -b $macrospath/getdolist.C+\("\"$table\""\,"\"$column\""\,"\"$date\""\,"\"$listpath\""\) | tee $getstatuslog | grep int | sed -e 's/(int)//'`
+
+      case $check0 in
+          1)   echo "check0=$check0 -> everything ok -> run callisto" >> $scriptlog 2>&1;;
+          *)   echo "check0=$check0 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1;;
+      esac
+   fi
    rm -v $lockpath/lock-getting-callisto-list.txt >> $scriptlog 2>&1
 fi
