-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
926a20d
commit 7f89d01
Showing
15 changed files
with
87 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Modified from GitHub Actions template | ||
|
||
name: Workflow | ||
|
||
# Improves reproducibility and speed | ||
env: | ||
OPENBLAS_NUM_THREADS: 1 | ||
OMP_NUM_THREADS: 1 | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
Reproducibility: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pip install --upgrade pip wheel | ||
pip install numpy==1.26.4 | ||
pip install -r requirements.txt | ||
- name: Compile Cython components | ||
run: | | ||
make clean compile | ||
- name: Test ParCa reproducibility | ||
run: | | ||
python runscript/parca.py -c 3 -o out/parca_1 | ||
python runscript/parca.py -c 3 -o out/parca_2 | ||
python runscript/debug/compare_pickles.py out/parca_1/kb out/parca_2/kb | ||
- name: Test simulation reproducibility | ||
run: | | ||
python ecoli/experiments/ecoli_master_sim.py \ | ||
--generations 1 --no_suffix_time --emitter parquet --emitter_arg out_dir='out' \ | ||
--experiment_id "parca_1" --daughter_outdir "out/parca_1" \ | ||
--sim_data_path "out/parca_1/kb/simData.cPickle" --fail_at_total_time & | ||
python ecoli/experiments/ecoli_master_sim.py \ | ||
--generations 1 --no_suffix_time --emitter parquet --emitter_arg out_dir='out' \ | ||
--experiment_id "parca_2" --daughter_outdir "out/parca_2" \ | ||
--sim_data_path "out/parca_2/kb/simData.cPickle" --fail_at_total_time && fg | ||
python runscripts/debug/diff_simouts.py -o "out" "parca_1" "parca_2" | ||
2 Gens: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pip install --upgrade pip wheel | ||
pip install numpy==1.26.4 mypy | ||
pip install -r requirements.txt | ||
- name: Compile Cython components | ||
run: | | ||
make clean compile | ||
- name: Two generations | ||
run: | | ||
python runscripts/workflow.py --config ecoli/composites/ecoli_configs/test_installation.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.