Commit c4996abf authored by Breno Rilho Lemos's avatar Breno Rilho Lemos 💬

Fix default animation problem

parent 554ad1fb
......@@ -46,10 +46,22 @@ if [ -z $DOWNLOAD ]; then
exit
fi
DEFAULT_ANIMATION=$3
if [ -z $DEFAULT_ANIMATION ]; then
DEFAULT_ANIMATION="false"
fi
##############################
# Download Dataset #
##############################
if [ "$DOWNLOAD" = "true" ]; then
echo "Downloading data."
wget $URL
fi
##############################
# Default animation #
##############################
DEFAULT_ANIMATION=$3
if [ "$DEFAULT_ANIMATION" = "true" ]; then
echo "Preparing default animation."
##############################
......@@ -63,18 +75,10 @@ if [ "$DEFAULT_ANIMATION" = "true" ]; then
echo "Done."
fi
##############################
# Download Dataset #
##############################
if [ "$DOWNLOAD" = "true" ]; then
echo "Downloading data."
wget $URL
fi
##############################
# Animation from file #
##############################
if [ -z $DEFAULT_ANIMATION -o "$DEFAULT_ANIMATION" = "false" ]; then
if [ "$DEFAULT_ANIMATION" = "false" ]; then
# Verify if AliESDs.root is here
ALIESD_ROOT_FILE=$(pwd)/AliESDs.root
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment