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
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-32-1b6c4906dd1f> in <module>
----> 1 parameters.getRandom()
~/Documents/PhD/projects/neurolib/neurolib/utils/parameterSpace.py in getRandom(self, safe)
97 else:
98 for key, value in self.parameters.items():
---> 99 randomPar[key] = np.random.choice(value)
100 return randomPar
101
mtrand.pyx in numpy.random.mtrand.RandomState.choice()
ValueError: a must be 1-dimensional
Needs fix.
The text was updated successfully, but these errors were encountered:
Returns
Needs fix.
The text was updated successfully, but these errors were encountered: