runtime schedule adding and injection of c atoms
[physik/posic.git] / run
diff --git a/run b/run
index 264a4ac..5a20df0 100755 (executable)
--- a/run
+++ b/run
@@ -1,10 +1,10 @@
-mkdir -p saves video
-./clean
-./sic
+[ ! -d $1 ] && mkdir $1
+./clean $1
+./sic $@
 if [ "$?" == "0" ]; then
-       ./perms
+       #./perms
        if [ "$1" ] ; then
-               rasmol -nodisplay < $1.scr > /dev/null 2>&1
-               ./ppm2avi
+               rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1
+               ./ppm2avi $1
        fi
 fi