mapalign icon indicating copy to clipboard operation
mapalign copied to clipboard

ValueError

Open sparkler0323 opened this issue 8 years ago • 1 comments

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 avatar Jul 31 '17 10:07 sparkler0323

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

sparkler0323 avatar Jul 31 '17 10:07 sparkler0323