From a73ec6510982b6484608d7ed54a67ec091cf0352 Mon Sep 17 00:00:00 2001 From: Phillip Chlap Date: Thu, 2 Sep 2021 00:52:49 +0000 Subject: [PATCH] Small tweaks for building the cardiac docker image --- platipy/imaging/projects/cardiac/service.py | 2 +- requirements-backend.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platipy/imaging/projects/cardiac/service.py b/platipy/imaging/projects/cardiac/service.py index a9cc8db6..66008ba4 100644 --- a/platipy/imaging/projects/cardiac/service.py +++ b/platipy/imaging/projects/cardiac/service.py @@ -115,7 +115,7 @@ def cardiac_structure_guided_service(data_objects, working_dir, settings): wholeheart = sitk.ReadImage(data_object.children[0].path) - results = run_cardiac_segmentation(img, wholeheart, settings) + results, _ = run_cardiac_segmentation(img, wholeheart, settings) # Save resulting masks and add to output for service for output in results: diff --git a/requirements-backend.txt b/requirements-backend.txt index f0770f99..f4998c97 100644 --- a/requirements-backend.txt +++ b/requirements-backend.txt @@ -1,7 +1,7 @@ flask >= 1.1.2 flask-restful >= 0.3.8 flask-sqlalchemy >= 2.4.4 -celery >= 4.4.7 +celery >= 4.4.7,< 5.0.0 redis >= 3.5.3 psutil >= 5.8.0 -gunicorn >= 20.0.4 \ No newline at end of file +gunicorn >= 20.0.4