Skip to content

Commit

Permalink
change directory output name of the temporary files + add the new not…
Browse files Browse the repository at this point in the history
…ebook in the test
  • Loading branch information
Jouvin committed Feb 28, 2019
1 parent 6e49836 commit fb62f63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/analysis_3d_joint.ipynb
Expand Up @@ -199,7 +199,7 @@
"outputs": [],
"source": [
"for obs_id in obs_ids:\n",
" path = Path(\"joint_analysis_cube\") / \"obs_{}\".format(obs_id)\n",
" path = Path(\"analysis_3d_joint\") / \"obs_{}\".format(obs_id)\n",
" path.mkdir(parents=True, exist_ok=True)\n",
"\n",
" for key in [\"counts\", \"exposure\", \"background\"]:\n",
Expand Down Expand Up @@ -229,7 +229,7 @@
"source": [
"maps_datasets = {}\n",
"for obs_id in obs_ids:\n",
" path = Path(\"joint_analysis_cube\") / \"obs_{}\".format(obs.obs_id)\n",
" path = Path(\"analysis_3d_joint\") / \"obs_{}\".format(obs.obs_id)\n",
" maps_dataset = {}\n",
"\n",
" for keys in [\"counts\", \"exposure\", \"background\"]:\n",
Expand Down
5 changes: 5 additions & 0 deletions tutorials/notebooks.yaml
Expand Up @@ -10,6 +10,11 @@
- fermi-3fhl-gc
images:
- DC1_3d
- name: analysis_3d_joint
url: https://raw.githubusercontent.com/gammapy/gammapy/master/tutorials/analysis_3d_joint.ipynb
requires: iminuit
datasets:
- cta-1dc
- name: astro_dark_matter
url: https://raw.githubusercontent.com/gammapy/gammapy/master/tutorials/astro_dark_matter.ipynb
datasets:
Expand Down

0 comments on commit fb62f63

Please sign in to comment.