multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/rthuang/anaconda3/envs/XCL-PRE/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/rthuang/anaconda3/envs/XCL-PRE/lib/python3.7/site-packages/sccnvsim/rs/cumi.py", line 164, in gen_umis_thread
dat[c][k][i].append(x[r:(r+X[i, j])])
TypeError: slice indices must be integers or None or have an __index__ method
"""
With Python 3.7: