Skip to content

Commit 5b0ff17

Browse files
committed
Update to biaflows-utilities
1 parent cc292a4 commit 5b0ff17

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ RUN apt-get update && apt-get install openjdk-8-jdk -y && apt-get clean
77
# ---------------------------------------------------------------------------------------------------------------------
88
# Install Cytomine python client (annotation exporter, compute metrics, helpers,...)
99
RUN git clone https://github.com/cytomine-uliege/Cytomine-python-client.git && \
10-
cd /Cytomine-python-client && git checkout tags/v2.3.0.poc.1 && pip install . && \
10+
cd /Cytomine-python-client && git checkout v2.7.3 && pip install . && \
1111
rm -r /Cytomine-python-client
1212

1313
# ---------------------------------------------------------------------------------------------------------------------
1414
# Install Neubias-W5-Utilities (annotation exporter, compute metrics, helpers,...)
1515
# It will get DiademMetric.jar and JSAP-2.1.jar files to compute DIADEM metric
1616
RUN apt-get update && apt-get install libgeos-dev -y && apt-get clean
17-
RUN git clone https://github.com/Neubias-WG5/neubiaswg5-utilities.git && \
18-
cd /neubiaswg5-utilities/ && git checkout tags/v0.8.8 && pip install .
17+
RUN git clone https://github.com/Neubias-WG5/biaflows-utilities.git && \
18+
cd /biaflows-utilities/ && git checkout tags/v0.9.1 && pip install .
1919

2020
# install utilities binaries
21-
RUN chmod +x /neubiaswg5-utilities/bin/*
22-
RUN cp /neubiaswg5-utilities/bin/* /usr/bin/
21+
RUN chmod +x /biaflows-utilities/bin/*
22+
RUN cp /biaflows-utilities/bin/* /usr/bin/
2323

2424
# cleaning
25-
RUN rm -r /neubiaswg5-utilities
25+
RUN rm -r /biaflows-utilities
2626

2727

2828
# --------------------------------------------------------------------------------------------

wrapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
import glob
44
from subprocess import call
55
from cytomine.models import Job
6-
from neubiaswg5 import CLASS_TRETRC
7-
from neubiaswg5.helpers import NeubiasJob, prepare_data, upload_data, upload_metrics
6+
from biaflows import CLASS_TRETRC
7+
from biaflows.helpers import BiaflowsJob, prepare_data, upload_data, upload_metrics
88
from workflow import workflow
99

1010
def main(argv):
1111
# 0. Initialize Cytomine client and job
12-
with NeubiasJob.from_cli(argv) as nj:
12+
with BiaflowsJob.from_cli(argv) as nj:
1313
nj.job.update(status=Job.RUNNING, progress=0, statusComment="Initialisation...")
1414
problem_cls = CLASS_TRETRC
1515
is_2d = False

0 commit comments

Comments
 (0)