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!
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)