Skip to content

Commit

Permalink
Directory manipulation
Browse files Browse the repository at this point in the history
Rename ~/data to ~/DATA (per Simon's preferred nomenclature)
Check for ~/WORK/_mapper since ~/WORK is probably precreated.
  • Loading branch information
athornton committed Dec 12, 2017
1 parent 5ba5546 commit 4b5c40c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"outputs": [],
"source": [
"%%script bash\n",
"export DATA_DIR=$HOME/data\n",
"export DATA_DIR=$HOME/DATA\n",
"export CI_HSC_DIR=$DATA_DIR/ci_hsc_small\n",
"mkdir -p $DATA_DIR\n",
"cd $DATA_DIR\n",
Expand All @@ -40,8 +40,8 @@
" tar zxvf small_demo.tar.gz\n",
"fi\n",
"export WORK_DIR=$HOME/WORK\n",
"if ! [ -d $WORK_DIR ]; then\n",
" mkdir -p $WORK_DIR\n",
"mkdir -p $WORK_DIR\n",
"if ! [ -f $WORK_DIR/_mapper ]; then\n",
" echo \"lsst.obs.hsc.HscMapper\" > $WORK_DIR/_mapper\n",
" ingestImages.py $WORK_DIR $CI_HSC_DIR/raw/*.fits --mode=link\n",
" cd $WORK_DIR\n",
Expand Down

0 comments on commit 4b5c40c

Please sign in to comment.