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
Probably this was an old functionality that was lost since numpy 1.17 or so. We now have to initialise the generator first and I have a fix to do that.
First I had a problem that I fixed in #881. Now there's another one:
00001: Traceback (most recent call last):
00002: File "/home/spa/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 207, in run
00003: self._run()
00004: File "/home/spa/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 257, in _run
00005: resultFiles = self._runFunc()
00006: File "/home/spa/scipion3/scipion-pyworkflow/pyworkflow/protocol/protocol.py", line 253, in _runFunc
00007: return self._func(*self._args)
00008: File "/home/spa/scipion3/xmipp-bundle/src/scipion-em-xmipp/xmipp3/protocols/protocol_simulate_ctf.py", line 124, in simulateStep
00009: I.setData(Idata+self.noiseBefore.get()*np.random.Generator.normal(size=Idata.shape))
00010: TypeError: descriptor 'normal' of 'numpy.random._generator.Generator' object needs an argument
00011: Protocol failed: descriptor 'normal' of 'numpy.random._generator.Generator' object needs an argument
The text was updated successfully, but these errors were encountered: