-./clean
-./posic $@
+mkdir -p saves video
+./clean $1
+./sic $1
if [ "$?" == "0" ]; then
- ./perms
- argv="`echo $@ | grep -- '-V'`"
- if [ "$argv" ] ; then
- base=`echo $argv | awk -F'-V' '{ print $2 }' | \
- awk '{ print $2 }'`
- rasmol -nodisplay < ${base}.scr
- ./ppm2avi
+ #./perms
+ if [ "$1" ] ; then
+ rasmol -32 -nodisplay < $1/visualize.scr > /dev/null 2>&1
+ ./ppm2avi $1
fi
fi