|
From: | Krishna Sandeep Reddy Dubba |
Subject: | Re: [igraph] reading gml files converts an int attribute into float |
Date: | Thu, 11 Jul 2013 21:11:47 +0100 |
Hi all,I generate a gml file with nodes having an integer attribute. But when I read it back using igraph.read, the attribute values are floats.for example this is how I generating gml file:count = 0 # My intention is to make the attribute value an integer, otherwise I can use 0.0for loop:node_attribute = countcount += 1But when I read the gml file using igraph, the node attribute becomes float, i.e. 0.0Is it a bug or am I doing some silly mistake?
Cheers,dksr
[Prev in Thread] | Current Thread | [Next in Thread] |