Skip to content
Snippets Groups Projects
Commit 0c56b184 authored by Michelle Weidling's avatar Michelle Weidling :blowfish:
Browse files

fix: oton installation

parent da1ef015
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
......@@ -20,8 +20,6 @@ RUN git submodule add https://github.com/MehmedGIT/OtoN_Converter submodules/oto
RUN git submodule update --init
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 .
RUN pip3 install -r requirements.txt
......
......@@ -147,7 +147,7 @@ run() {
# $2: $DIR_NAME
# $3: $WS_DIR
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"
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