@@ -31,7 +31,6 @@ ENV PYTHONPATH="/app/miniconda/lib/python3.12/site-packages:${PYTHONPATH:-}"
3131RUN pip3 install --no-cache-dir uv==0.5.21
3232RUN conda install -c conda-forge mamba -y
3333
34-
3534# Install R and kernels in the crow_env environment
3635RUN mamba install -c conda-forge -y \
3736 r-base=4.3.3 \
@@ -91,6 +90,7 @@ RUN mamba install -c conda-forge -c bioconda -y \
9190 gseapy=1.1.4 \
9291 blast=2.16.0 \
9392 clipkit=2.3.0 \
93+ clustalo=1.2.4 \
9494 fastqc=0.12.1 \
9595 iqtree=2.3.6 \
9696 mafft=7.526 \
@@ -116,7 +116,7 @@ FROM base AS builder
116116
117117ARG MODULE_NAME
118118ARG USE_INTERNAL_DEPS
119- ARG USE_GIT_CROW_CLIENT
119+ ARG USE_GIT_FUTUREHOUSE_CLIENT
120120
121121
122122RUN mkdir -p ~/.ssh && \
@@ -150,12 +150,12 @@ RUN --mount=type=cache,target=/root/.cache/uv \
150150 else \
151151 echo 'Skipping aviary_internal install'; \
152152 fi && \
153- if [ "$USE_GIT_CROW_CLIENT " = "true" ]; then \
153+ if [ "$USE_GIT_FUTUREHOUSE_CLIENT " = "true" ]; then \
154154 git clone git@github.com:Future-House/crow-ecosystem.git /app/crow-ecosystem && \
155- cd /app/crow-ecosystem/packages/crow -client && \
155+ cd /app/crow-ecosystem/packages/futurehouse -client && \
156156 uv pip install --system -e .; \
157157 else \
158- uv pip install --system crow -client; \
158+ uv pip install --system futurehouse -client; \
159159 fi
160160
161161WORKDIR /app/${MODULE_NAME}
@@ -174,6 +174,11 @@ RUN --mount=type=ssh \
174174RUN find /app -type l -delete && \
175175 rm -rf /app/.git
176176
177+ # Fix futurehouse_client imports by creating a symlink if we're using the git version
178+ RUN if [ "$USE_GIT_FUTUREHOUSE_CLIENT" = "true" ]; then \
179+ ln -sf /app/crow-ecosystem/packages/futurehouse-client/futurehouse_client /app/miniconda/lib/python3.12/site-packages/futurehouse_client; \
180+ fi
181+
177182FROM base AS runtime
178183
179184COPY --from=builder /app/ /app/
0 commit comments