#!/bin/bash

# Check if weblogo is installed before trying to run it.

weblogo --version
#which weblogo
status=$?

#Run weblogo, or print instructions on how to install.
if [ $status -eq 0 ] 
then
    weblogo $*
else
    MESSAGE="WebLogo does not appear to be installed."
    TITLE="test of WebLogo"
    java -jar $BIRCH/script/OkayBox2.jar "$MESSAGE" "$TITLE"
    chooseviewer.py $BIRCH/public_html/birchadmin/dependencies/dependencies.html
fi
