Skip to content
Snippets Groups Projects
Unverified Commit 9ad065ee authored by mweidling's avatar mweidling Committed by GitHub
Browse files

Merge pull request #9 from OCR-D/fix-oton-installation

fix: oton installation
parents da1ef015 0c56b184
No related branches found
No related tags found
1 merge request!1Merge GitHub's state
FROM ocrd/all:2023-02-07 FROM ocrd/all:2023-03-26
WORKDIR /app WORKDIR /app
...@@ -20,8 +20,6 @@ RUN git submodule add https://github.com/MehmedGIT/OtoN_Converter submodules/oto ...@@ -20,8 +20,6 @@ RUN git submodule add https://github.com/MehmedGIT/OtoN_Converter submodules/oto
RUN git submodule update --init RUN git submodule update --init
RUN cd submodules/oton && \ RUN cd submodules/oton && \
sed -i 's \\\\$HOME/venv37-ocrd/bin/activate g' oton/config.toml && \
sed -i "s \$projectDir/ocrd-workspace/ $WORKSPACE_DIR/CURRENT/ g" oton/config.toml && \
pip install . pip install .
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
......
...@@ -147,7 +147,7 @@ run() { ...@@ -147,7 +147,7 @@ run() {
# $2: $DIR_NAME # $2: $DIR_NAME
# $3: $WS_DIR # $3: $WS_DIR
adjust_workflow_settings "$1" "$2" adjust_workflow_settings "$1" "$2"
nextflow run "$1" -with-weblog http://127.0.0.1:8000/nextflow/ nextflow run "$1" -with-weblog http://127.0.0.1:8000/nextflow/ --mets_path "/app/workflows/workspaces/$2/data/*/mets.xml"
rename_and_move_nextflow_result "$1" "$2" rename_and_move_nextflow_result "$1" "$2"
save_workspaces "$3"/data "$2" "$1" save_workspaces "$3"/data "$2" "$1"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment