Skip to content

Commit

Permalink
Update Python dependencies and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlujan91 committed Jan 5, 2024
1 parent 38f19cf commit 61f83aa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 39 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/python-app.yml

This file was deleted.

3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ channels:
- conda-forge
dependencies:
- python=3.9
- econ-ark=0.13
- matplotlib
- numpy
- scipy
- pandas
- pip
- pip:
- git+https://github.com/econ-ark/HARK@master
14 changes: 8 additions & 6 deletions reproduce.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# requirements setup and mamba for faster install for env
source /opt/conda/etc/profile.d/conda.sh
mamba env create -qq -f environment.yml
# Check if the environment exists before creating it
if ! conda env list | grep -q 'solvingmicrodsops'; then
mamba env create -qq -f environment.yml
fi

# Activate the environment
conda activate solvingmicrodsops

# execute script to reproduce figures
cd Code/
python StructEstimation.py
# Execute script to reproduce figures
python code/do_all.py

0 comments on commit 61f83aa

Please sign in to comment.