Skip to content

Commit

Permalink
Merge pull request #27 from CovertLab/growth-paper
Browse files Browse the repository at this point in the history
Update to latest model version
  • Loading branch information
tahorst authored Aug 23, 2022
2 parents 7e4cc9e + 5e3b07f commit d22ef2c
Show file tree
Hide file tree
Showing 1,061 changed files with 275,629 additions and 507,517 deletions.
11 changes: 10 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
/.idea
/docs
/user
/stubs
/.mypy_cache
/.benchmarks

# Compiled source #
###################
*.pyc
__pycache__
**/__pycache__/

# OS generated files #
######################
Expand All @@ -29,6 +32,7 @@ coverage.xml
nosetests.xml
nosetests.*.xml
.pytest_cache
/unittests.xml

# IPython notebook files #
##########################
Expand All @@ -37,6 +41,8 @@ nosetests.*.xml
# Output files #
################
/out
/colony/out
reconstruction/ecoli/scripts/nca/out/

# Cached sim data #
###################
Expand Down Expand Up @@ -106,6 +112,9 @@ reconstruction/ecoli/dataclasses/process/two_component_system_odes_fitter.py
*.hdf
*.tar.gz
/build/
/.mypy_cache/
secrets.*
reconstruction/ecoli/scripts/nca/data/regulon-db/*.tsv

# LaTeX compilation files #
###########################
Expand Down
1 change: 1 addition & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#!include:.dockerignore
45 changes: 34 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# A temporary copy to upload to Cloud Build. Don't .dockerignore it.
/cloud/docker/runtime/requirements.txt

# Compiled source #
###################
*.pyc
__pycache__

# OS generated files #
######################
.DS_Store
.DS_Store?
._*

# git source info to copy into Docker Images #
##############################################
/source-info/

# VIM temp files #
##################
*.swp
Expand All @@ -22,18 +30,17 @@ coverage.xml
nosetests.xml
nosetests.*.xml
.pytest_cache
/unittests.xml

# IPython notebook files #
##########################
.ipynb_checkpoints

# Output files #
################
out
out/*
!out/out.txt
!out/images.html
!out/makeHtml.py
/out
/colony/out
reconstruction/ecoli/scripts/nca/out/

# Cached sim data #
###################
Expand Down Expand Up @@ -72,23 +79,23 @@ user/*
# kernprof.py output #
######################
*.lprof
*.prof

# pyenv python version #
########################
.python-version

# files created from templates #
################################
/my_launchpad*.yaml
/my_qadapter*.yaml
# personal config files #
#########################
/*.yaml

# Fireworks output #
####################
launcher_*
block_*
FW.json

# Fitter output #
# Parca output #
#################
reconstruction/ecoli/dataclasses/process/equilibrium_odes.py
reconstruction/ecoli/dataclasses/process/two_component_system_odes.py
Expand All @@ -107,7 +114,11 @@ reconstruction/ecoli/dataclasses/process/two_component_system_odes_fitter.py
*.pickle
*.log
*.hdf
*.tar.gz
/build/
/.mypy_cache/
secrets.*
reconstruction/ecoli/scripts/nca/data/regulon-db/*.tsv

# PyCharm files #
#################
Expand All @@ -120,6 +131,7 @@ reconstruction/ecoli/dataclasses/process/two_component_system_odes_fitter.py
.idea/libraries
.idea/codeStyleSettings.xml
.idea/codeStyles/codeStyleConfig.xml
.idea/inspectionProfiles/profiles_settings.xml

# Potentially OK if editing it to project-jdk-name="Python 2.7" works:
.idea/misc.xml
Expand All @@ -135,7 +147,18 @@ reconstruction/ecoli/dataclasses/process/two_component_system_odes_fitter.py

# Gradle:
.idea/gradle.xml
.idea/libraries

# Mongo Explorer plugin:
.idea/mongoSettings.xml

# LaTeX compilation files #
###########################
*.aux
*.bbl
*.blg
*.fdb_latexmk
*.fls
*.synctex.gz

# VSCode:
.vscode/
13 changes: 2 additions & 11 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 60 additions & 2 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

3 changes: 3 additions & 0 deletions .idea/scopes/NOT_pyi_files.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/scopes/NOT_tsv_files.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/scopes/py_files.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions .idea/wcEcoli.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 18 additions & 4 deletions Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
.PHONY: compile, clean
.PHONY: compile, clean, recompile

compile:
python2.7 setup.py build_ext --inplace
python setup.py build_ext --inplace
rm -fr build

# The reconstruction/ecoli/dataclasses/process/*.py files were generated by
# write_ode_file.py in Parca code.
# Fireworks writes launcher_20* and block_20*.
# `aesara-cache clear` clears the current $(aesara-cache) cache, not others, and
# leaves 3 small *.delete.me dirs for later in case they're in use, esp. on NFS.
clean:
rm -fr fixtures
rm -fr fixtures cache
(cd reconstruction/ecoli/dataclasses/process && rm -f equilibrium_odes.py two_component_system_odes*.py)
find . -not \( -path ./out -prune \) -not \( -path ./.git -prune \) -name "*.cPickle" -exec rm -fr {} \;
find . -name "*.pyc" -exec rm -rf {} \;
find . -name "*.o" -exec rm -fr {} \;
find . -name "*.so" -exec rm -fr {} \;
rm -fr build
rm -fr launcher_20* block_20*
if [ "`aesara-cache | xargs du -sm | cut -f1`" -gt 30 ]; then \
echo "Clearing the aesara-cache since it's larger than threshold."; \
aesara-cache clear; \
fi

# Delete just the *.so libraries then (re)compile them.
# This is useful when switching to a different Python virtualenv.
recompile:
find . -name "*.so" -delete
make compile
Loading

0 comments on commit d22ef2c

Please sign in to comment.