Commit a1b75afb authored by Lucas Mello Schnorr's avatar Lucas Mello Schnorr

a unique id derived from the URL

parent d6aeaaa8
......@@ -65,6 +65,16 @@ if [ "$DOWNLOAD" = "true" ]; then
wget $URL
fi
######################################
# Established Unique ID based on URL #
######################################
UNIQUEID=$(echo $URL | sed \
-e "s#http://opendata.cern.ch/##" \
-e "s#/AliESDs.root##" \
-e "s#files/assets/##" \
-e "s#/#_#g")
echo "The unique ID is $UNIQUEID."
##############################
# Default synthetic animation#
##############################
......
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