Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed May 24, 2024
1 parent 53c7645 commit 8f2c255
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 1,095 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY ./biosimulator_processes /app/biosimulator_processes
COPY composer-notebooks /app/notebooks

# copy files
COPY ./pyproject.toml ./poetry.lock ./data ./scripts/trust-notebooks.sh /app/
COPY toml ./poetry.lock ./data ./scripts/trust-notebooks.sh /app/
COPY ./scripts/enter-lab.sh /usr/local/bin/enter-lab.sh
# COPY ./scripts/xvfb-startup.sh /xvfb-startup.sh

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion biosimulator_processes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
PROCESSES_TO_REGISTER = [
('cobra', 'cobra_process.CobraProcess'),
('copasi', 'copasi_process.CopasiProcess'),
('smoldyn', 'smoldyn_process.SmoldynProcess'),
# ('smoldyn', 'smoldyn_process.SmoldynProcess'),
('tellurium', 'tellurium_process.TelluriumProcess'),
('amici', 'amici_process.AmiciProcess')]

Expand Down
4 changes: 2 additions & 2 deletions containers/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_simulators(sims: List[str]):
and format as a dictionary. This dictionary is used as configuration for the dynamic
creation of containers.
"""
with open('biosimulator_processes/poetry.lock') as file:
with open('biosimulator_processes/_lock') as file:
lock_data = toml.load(file)

simulators = []
Expand Down Expand Up @@ -76,7 +76,7 @@ def generate_dockerfile_contents(config: dict) -> str:
"""

base_path = 'biosimulator_processes/Dockerfile-base'
# TODO: automate mapping simulators to poetry.lock: ie: simulators arg that searches the lock file
# TODO: automate mapping simulators to _lock: ie: simulators arg that searches the lock file
with open(base_path, 'r') as fp:
dockerfile_contents = fp.read()
for simulator in config['simulators']:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"jupyterlab",
"notebook",
"bigraph-builder",
"python-libsbml" # ==5.20.2",
"python-libsbml", # ==5.20.2",
"docker>=7.0",
"toml",
"python-libnuml==1.1.6", # ">=1.0.0"
Expand Down
1,184 changes: 102 additions & 1,082 deletions test_suite/test.ipynb

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions pyproject.toml → toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,8 @@ docker = ">=7.0"
python-libnuml = "^1.1.6"
notebook = "^7.1.1"
toml = "*"
fastapi = "^0.109.0" # "*"
pyyaml = "*"
pydantic = "*"
h5py = "*"
pydantic-settings = "*"
httpx = "*"
tensorstore = "*"
aiofiles = "*"
aiobotocore = "*"
uvicorn = {extras = ["standard"], version = "*"}
seaborn = "^0.13.2"
# psutil = "^5.9.8"

Expand Down

0 comments on commit 8f2c255

Please sign in to comment.