Skip to content

Commit acf779c

Browse files
committed
Change definition of cluster again
1 parent ca76d25 commit acf779c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mesmerize_core/algorithms/_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import caiman as cm
88
from caiman.cluster import setup_cluster
9+
from ipyparallel import DirectView
910
from multiprocessing.pool import Pool
1011

1112

@@ -26,7 +27,7 @@ def __len__(self) -> int:
2627
...
2728

2829

29-
Cluster = Union[Pool, CustomCluster]
30+
Cluster = Union[Pool, CustomCluster, DirectView]
3031

3132

3233
def get_n_processes(dview: Optional[Cluster]) -> int:

0 commit comments

Comments
 (0)