sensein / mapalign

Diffusion map based embedding and alignment
Other
66 stars 28 forks source link

ValueError #10

Open sparkler0323 opened 7 years ago

sparkler0323 commented 7 years ago

Sorry for disturbing you.

I am very interested in the paper 'Situating the default-mode network along a principal gradient of macroscale cortical organization' which is based on mapalign, and code is available in https://github.com/NeuroanatomyAndConnectivity/gradient_analysis.

But when I run the code in https://github.com/NeuroanatomyAndConnectivity/gradient_analysis/blob/master/02_embed_connectomes.ipynb, I got ValueError

In [30]: emb, res = embed.compute_diffusion_map(aff, alpha = 0.5) ValueError Traceback (most recent call last)

in () ----> 1 emb, res = embed.compute_diffusion_map(aff, alpha = 0.5) ValueError: too many values to unpack And I use python2.7 which is the same with 'gradient_analysis'. Hope you to help me with the error, thank you!
sparkler0323 commented 7 years ago

Oh, I see, I maybe should make 'return_result = Ture' in compute_diffusion_map