nicthib / pyanthem

https://pypi.org/project/pyanthem/
MIT License
2 stars 0 forks source link

CLI raw decomposition bug #3

Open nicthib opened 8 months ago

nicthib commented 8 months ago
          I believe there is an error when you try to process raw data in the command line:
import pyanthem

g = pyanthem.run(display=False)

Welcome to pyanthem v1.2.3!

♫ g.process_raw(file_in=r'demo1_raw.mat',n_clusters=20,save=True)

Performing k-means...done.

Performing NNLS...done.

Error: Inner or outer dimensions of W [shape=(20, 200)] and H [shape=(128, 128, 20)] do not match!

<pyanthem.pyanthem.GUI object .>

However, the same file works fine with the GUI File --> Load raw...

Originally posted by @guevaracodina in https://github.com/nicthib/pyanthem/issues/2#issuecomment-1977067219

nicthib commented 8 months ago

Thanks for noticing this @guevaracodina - just pinning this here so I can address it when I have time.