Skip to content

Commit

Permalink
fix: uncommented ocsr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kohulan committed Sep 1, 2023
1 parent 29bcf26 commit 747c252
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN chmod +x surge
RUN mv surge /usr/bin

RUN conda install -c conda-forge python>=PYTHON_VERSION
#RUN conda install -c conda-forge rdkit>=RDKIT_VERSION
RUN conda install -c conda-forge rdkit>=RDKIT_VERSION
RUN conda install -c conda-forge openbabel>=OPENBABEL_VERSION

RUN python3 -m pip install -U pip
Expand All @@ -30,7 +30,6 @@ COPY ./requirements.txt /code/requirements.txt

RUN pip3 install --upgrade setuptools pip
RUN pip3 install --no-cache-dir -r /code/requirements.txt
RUN pip3 install rdkit
RUN python3 -m pip uninstall -y imantics
RUN pip3 install imantics==0.1.12
RUN pip3 install --no-deps decimer-segmentation
Expand Down
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from fastapi.responses import RedirectResponse
from fastapi_versioning import VersionedFastAPI

from .routers import tools, depict, converters, chem # , ocsr
from .routers import tools, depict, converters, chem, ocsr
from fastapi.middleware.cors import CORSMiddleware

from prometheus_fastapi_instrumentator import Instrumentator
Expand All @@ -28,7 +28,7 @@
app.include_router(converters.router)
app.include_router(depict.router)
app.include_router(tools.router)
# app.include_router(ocsr.router)
app.include_router(ocsr.router)

app = VersionedFastAPI(
app,
Expand Down

0 comments on commit 747c252

Please sign in to comment.