Skip to content

Commit

Permalink
fix(gammapy-tools.def): patching the change for the RBM maps issue
Browse files Browse the repository at this point in the history
  • Loading branch information
steob92 committed Jul 29, 2024
1 parent f254b86 commit b62d32f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Empty file modified apptainer_hub.sh
100644 → 100755
Empty file.
7 changes: 5 additions & 2 deletions gammapy-tools.def
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Stage: build

apt update
apt upgrade -y
apt install curl bash git gcc btop emacs python3 python3-pip python3.12-venv -y
apt install curl bash git gcc btop emacs python3 python3-pip python3.12-venv wget zsh -y

# Install mamba and base env
#curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
Expand Down Expand Up @@ -68,6 +68,9 @@ Stage: build
python -m pip cache purge


# Add the updated version of gammapy/datasets/map.py
wget https://raw.githubusercontent.com/gammapy/gammapy/main/gammapy/datasets/map.py -O /opt/gammapy_tools/lib/python3.12/site-packages/gammapy/datasets/map.py

%runscript
cd /local_data ; jupyter-lab --port=$JPORT

Expand All @@ -81,5 +84,5 @@ Stage: build
Version v0.1.0

%help
This is a container with juptyer lab pre-installed with gammapy, v2dl3 and gammapy-background-analysis
This is a container with juptyer lab pre-installed with gammapy, v2dl3 and gammapy-tools

0 comments on commit b62d32f

Please sign in to comment.