Skip to content

Commit

Permalink
Merge pull request #5 from lsst-dm/master
Browse files Browse the repository at this point in the history
Directory updates
  • Loading branch information
athornton authored Dec 19, 2017
2 parents 5ba5546 + c6e662a commit 2a976d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 All @@ -59,7 +59,7 @@
"outputs": [],
"source": [
"import os\n",
"DATA_DIR = os.path.join(os.environ['HOME'], \"data\")\n",
"DATA_DIR = os.path.join(os.environ['HOME'], \"DATA\")\n",
"CI_HSC_DIR = os.path.join(DATA_DIR, \"ci_hsc_small\")\n",
"WORK_DIR = os.path.join(os.environ['HOME'], \"WORK\")"
]
Expand Down

0 comments on commit 2a976d5

Please sign in to comment.