Skip to content
Snippets Groups Projects
Commit 62bb40fb authored by Kimberly Isobel Meechan's avatar Kimberly Isobel Meechan
Browse files

add back numpy thread setting

parent f40e7e23
No related branches found
No related tags found
1 merge request!9Morphology
This commit is part of merge request !9. Comments created here will be created in the context of that merge request.
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
......
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