We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca76d25 commit acf779cCopy full SHA for acf779c
mesmerize_core/algorithms/_utils.py
@@ -6,6 +6,7 @@
6
7
import caiman as cm
8
from caiman.cluster import setup_cluster
9
+from ipyparallel import DirectView
10
from multiprocessing.pool import Pool
11
12
@@ -26,7 +27,7 @@ def __len__(self) -> int:
26
27
...
28
29
-Cluster = Union[Pool, CustomCluster]
30
+Cluster = Union[Pool, CustomCluster, DirectView]
31
32
33
def get_n_processes(dview: Optional[Cluster]) -> int:
0 commit comments