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
I get a AttributeError: Module 'scipy' has no attribute 'shape' whenever i run:
m = mofa(adata,
expectations=["W","Z","AlphaW","AlphaZ"],
use_raw=False,
n_factors=5,
outfile="model/pbmc3k_nogroup_expectations.hdf5", quiet=False)
with the mofapy2 package. Why?
The text was updated successfully, but these errors were encountered:
Change s.shape to np.shape in the mofapy2/core/distributions/basic_distributions.py file and s.outer to np.outer in the mofapy2/core/BayesNet.py files.
I had a similar issue when running ent.build(). I would get AttributeError: Module 'scipy' has no attribute 'empty'. I located the source of the issue in mofapy2/core/distributions/multivariate_gaussian.py, and changed s.empty to np.empty in three locations. Hope this helps someone else.
I get a AttributeError: Module 'scipy' has no attribute 'shape' whenever i run:
m = mofa(adata,
expectations=["W","Z","AlphaW","AlphaZ"],
use_raw=False,
n_factors=5,
outfile="model/pbmc3k_nogroup_expectations.hdf5", quiet=False)
with the mofapy2 package. Why?
The text was updated successfully, but these errors were encountered: