From 62bb40fb02a31bc04b213464500ae901299d2f7d Mon Sep 17 00:00:00 2001
From: Kimberly Meechan <kimberly.meechan@embl.de>
Date: Wed, 29 Jan 2020 09:56:39 +0100
Subject: [PATCH] add back numpy thread setting

---
 scripts/extension/attributes/morphology_impl.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/scripts/extension/attributes/morphology_impl.py b/scripts/extension/attributes/morphology_impl.py
index da9cf6a..acf192d 100644
--- a/scripts/extension/attributes/morphology_impl.py
+++ b/scripts/extension/attributes/morphology_impl.py
@@ -1,13 +1,10 @@
 from datetime import datetime
 
-# TODO - uncomment this part
 # this is a task called by multiple processes,
 # so we need to restrict the number of threads used by numpy
-# from cluster_tools.utils.numpy_utils import set_numpy_threads
-# set_numpy_threads(1)
-from tmp.numpy_utils import set_numpy_threads
-
+from cluster_tools.utils.numpy_utils import set_numpy_threads
 set_numpy_threads(1)
+
 import numpy as np
 
 import vigra
-- 
GitLab