Conversion from dynamic graph into CSV: possible bug?

Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
albertocottica
Posts:12
Joined:24 Jun 2012 13:46
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Conversion from dynamic graph into CSV: possible bug?

Post by albertocottica » 17 Feb 2013 11:45

Hello and thanks for your great work on dynamic network analysis.

A question: when exporting a dynamic file from Gephi (0.8.2 beta, on a Mac) into CSV it seems to me that some unclear conversion is performed. For example, in the data table I can see, for a certain node, that it exists in the following time period:

Code: Select all

<[2011-10-18T01:13:30.000, Infinity]> 
When I export it to CSV, the same node is shown to exist in the following period:

Code: Select all

<[1.31889321E12, Infinity]>
That number is too large to be unix time... do you know what it is?

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Conversion from dynamic graph into CSV: possible bug?

Post by eduramiba » 17 Feb 2013 14:41

Hi,
This time is unix time but with milliseconds precission.
Anyway, I think this can be considered a bug, time should be written in date form if the date mode is active.

Eduardo

User avatar
albertocottica
Posts:12
Joined:24 Jun 2012 13:46
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Conversion from dynamic graph into CSV: possible bug?

Post by albertocottica » 17 Feb 2013 23:24

Thanks Eduardo. You mean they are (Unix time) x 1000, right? It seems on top of that there is a time zone issue. Anyway I'm sure I can sort this out myself.

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Conversion from dynamic graph into CSV: possible bug?

Post by eduramiba » 25 Feb 2013 22:26

Yes. That's right, just 3 more are zeros added.

Eduardo

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable