On Tue, Nov 16, 2010 at 03:32:54PM -0800, Sandeep Gupta wrote:
>  start_idx, end_idx, _ = np.array(list(nx.mst(g))).T



>    in function main.� I get "ValueError: too many values to unpack".� A bit
>    of debugging reveals that the right hand side is of type ndarray.

>    Would appreciate any help resolve this.

It means that nx.mst is not returning a set of triplets, but a set of
tuples of different length. Find this length, and adapt what goes on the
LFH of the equality.

HTH,

Gael

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to