#!/bin/sh
BASE=`find . -maxdepth 1 -name "*.egg-info" | sed 's/\.egg-info$//'`
if [ "$2" = "" ]; then
  echo "$0 --stage [ 0 | 1 | 2 ]" 1>&2
  exit 1
fi
wget -O - -q https://edwardslab.bmcb.georgetown.edu/teaching/binf5240/2024/data/hoyataxa-"$2".tgz | tar zxf - -C "$BASE"
wget -O devdata.sqlite https://edwardslab.bmcb.georgetown.edu/teaching/binf5240/2024/data/devdata.sqlite
