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
>>> import numpy as np
>>> X = np.zeros((10, 100))
>>> Y = np.ones((10, 100))
>>> mnnpy.mnn_correct(X, Y)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Acer\AppData\Roaming\Python\Python37\site-packages\mnnpy\mnn.py", line 148, in mnn_correct
if len(var_index) != n_cols:
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
The default value of
var_index
isNone
, but the first thing you do with it if the data is notAnnData
is take thelen
. https://github.com/chriscainx/mnnpy/blob/master/mnnpy/mnn.py#L148The text was updated successfully, but these errors were encountered: