You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to use the package for de novo extraction of mutational signatures.
Got an error
RemoteTraceback Traceback (most recent call last)
RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/spirit-booze/venvs/mut_signatures/lib/python3.10/site-packages/musical/mvnmf.py", line 406, in _job
model.fit()
File "/home/spirit-booze/venvs/mut_signatures/lib/python3.10/site-packages/musical/mvnmf.py", line 305, in fit
H = nnls(self.X, W)
File "/home/spirit-booze/venvs/mut_signatures/lib/python3.10/site-packages/musical/nnls.py", line 11, in nnls
h, _ = sp.optimize.nnls(W, x)
File "/home/spirit-booze/venvs/mut_signatures/lib/python3.10/site-packages/scipy/optimize/_nnls.py", line 93, in nnls
raise RuntimeError("Maximum number of iterations reached.")
RuntimeError: Maximum number of iterations reached.
"""
The above exception was the direct cause of the following exception:
File /usr/lib/python3.10/multiprocessing/pool.py:367, in Pool.map(self, func, iterable, chunksize)
362 def map(self, func, iterable, chunksize=None):
363 '''
364 Apply func to each element in iterable, collecting the results
365 in a list that is returned.
366 '''
--> 367 return self._map_async(func, iterable, mapstar, chunksize).get()
Someone else reported a similar error recently. We thought it may be related to this issue of a recent version of Scipy: scipy/scipy#20813. Could you check what version of Scipy you are using, and try downgrading it and run again?
Hi.
Tried to use the package for de novo extraction of mutational signatures.
Got an error
Any ideas on how to resolve this?
The text was updated successfully, but these errors were encountered: