Skip to content

Commit

Permalink
zellkonverter is an R package, folks.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Jul 31, 2024
1 parent 634e600 commit c8d485e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions analyses/doublet-detection/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ COPY conda-lock.yml conda-lock.yml
RUN conda-lock install -n ${ENV_NAME} conda-lock.yml && \
conda clean --all --yes

# Complete installation of zellkonverter conda env
ENV BASILISK_EXTERNAL_DIR /usr/local/renv/basilisk
RUN Rscript -e "proc <- basilisk::basiliskStart(env = zellkonverter::zellkonverterAnnDataEnv(), testload = 'anndata'); \
basilisk::basiliskStop(proc); \
basilisk.utils::cleanConda()"

# Copy the renv.lock file from the host environment to the image
COPY renv.lock renv.lock

Expand All @@ -65,6 +59,12 @@ RUN Rscript -e 'renv::restore()' \
&& rm -rf /tmp/downloaded_packages \
&& rm -rf /tmp/Rtmp*

# Complete installation of zellkonverter conda env
ENV BASILISK_EXTERNAL_DIR /usr/local/renv/basilisk
RUN Rscript -e "proc <- basilisk::basiliskStart(env = zellkonverter::zellkonverterAnnDataEnv(), testload = 'anndata'); \
basilisk::basiliskStop(proc); \
basilisk.utils::cleanConda()"

# Activate conda environment on bash launch
RUN echo "conda activate ${ENV_NAME}" >> ~/.bashrc

Expand Down

0 comments on commit c8d485e

Please sign in to comment.