Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backwards_ecal,ecal_gaps: install python dependencies to venv #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion benchmarks/backwards_ecal/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ bench:backwards_ecal:
needs:
- ["sim:backwards_ecal"]
script:
- export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
- unset PYTHONPATH
- python -m venv .venv; source .venv/bin/activate
- pip install -r benchmarks/backwards_ecal/requirements.txt
- snakemake --cores 1 backwards_ecal

Expand Down
4 changes: 3 additions & 1 deletion benchmarks/backwards_ecal/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
awkward >= 2.4.0
matplotlib
numpy
scikit-learn
uproot >= 5.2.0
uproot
vector
3 changes: 2 additions & 1 deletion benchmarks/ecal_gaps/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ bench:ecal_gaps:
- ["sim:ecal_gaps"]
script:
- ln -s $LOCAL_DATA_PATH/input input
- export PYTHONUSERBASE=$LOCAL_DATA_PATH/deps
- unset PYTHONPATH
- python -m venv .venv; source .venv/bin/activate
- pip install -r benchmarks/ecal_gaps/requirements.txt
- snakemake --cores 8 ecal_gaps

Expand Down
4 changes: 3 additions & 1 deletion benchmarks/ecal_gaps/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ dask >= 2023
dask_awkward
dask_histogram
distributed >= 2023
matplotlib
numpy
pyhepmc
uproot ~= 5.2.0
uproot