Skip to content

Commit

Permalink
backwards_ecal,ecal_gaps: install python dependencies to venv
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Oct 3, 2024
1 parent f04a369 commit f8c1aac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
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
2 changes: 2 additions & 0 deletions 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
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
2 changes: 2 additions & 0 deletions 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

0 comments on commit f8c1aac

Please sign in to comment.