Skip to content

Commit

Permalink
Add beaker-pysb context
Browse files Browse the repository at this point in the history
  • Loading branch information
mattprintz committed Jun 4, 2024
1 parent 87d35f0 commit b98e1cb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,23 @@ RUN git clone https://github.com/indralab/mira.git /home/jupyter/mira && \
pip install --no-cache-dir /home/jupyter/mira/"[ode,tests,dkg-client,sbml]" && \
rm -r /home/jupyter/mira

#### START Installs for PySB context
# Install project requirements
USER root
WORKDIR /tmp
RUN wget https://github.com/RuleWorld/bionetgen/releases/download/BioNetGen-2.9.2/BioNetGen-2.9.2-linux.tar.gz && \
tar -xzf BioNetGen-2.9.2-linux.tar.gz && \
mv BioNetGen-2.9.2 /usr/local/share/BioNetGen && \
rm BioNetGen-2.9.2-linux.tar.gz

WORKDIR /opt/stochkit
ENV STOCHKIT_HOME=/opt/stochkit
RUN git clone https://github.com/StochSS/StochKit.git /opt/stochkit
RUN bash ./install.sh
USER jupyter
ENV PATH=$PATH:$STOCHKIT_HOME/bin
RUN pip install --no-cache-dir beaker-pysb
#### END Installs for PySB context

# Install project requirements
COPY --chown=1000:1000 pyproject.toml README.md hatch_build.py /home/jupyter/askem_beaker/
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ dependencies = [
"tenacity~=8.2.3",
"astunparse~=1.6.3",
"tiktoken~=0.5.2",
"gilda==1.2.0",
"adeft==0.11.0", # This is to prevent an upstream error as adept is required by gilda and there's a problem with a specific version
"chirho[extras]~=0.2.0",
"pyro-ppl~=1.8.6",
"pyro-api~=0.1.2",
Expand Down

0 comments on commit b98e1cb

Please sign in to comment.