changes to visualization, not finished by now!
[physik/posic.git] / run
diff --git a/run b/run
index 264a4ac..6e120d7 100755 (executable)
--- a/run
+++ b/run
@@ -1,10 +1,11 @@
-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
+               ./visualize $1
+               #rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1
+               ./ppm2avi $1
        fi
 fi