[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2010-04-29T23:01:01+01:00 https://forum-gephi.org/app.php/feed/topic/183 2010-04-29T23:01:01+01:002010-04-29T23:01:01+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=670#p670 <![CDATA[Re: each statistic calculation can only be done once]]>

Statistics:Posted by mbastian — 29 Apr 2010 23:01


]]>
2010-04-29T00:30:25+01:002010-04-29T00:30:25+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=668#p668 <![CDATA[Re: each statistic calculation can only be done once]]>
Creating a branch is indeed the best way to do this. For me it's really easy I just do a merge with your branch to integrate the fixes.

Just a tip: Format your code using Netbeans (Right-Click > Format on source code). We all do this, it avoids commit format change later on.

Statistics:Posted by mbastian — 29 Apr 2010 00:30


]]>
2010-04-28T21:11:35+01:002010-04-28T21:11:35+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=666#p666 <![CDATA[Re: each statistic calculation can only be done once]]>
I created a branch on Launchpad and updated the fix on it. Is it the correct thing to do ? Also I was not sure whether I had to include the description of the changes in the 2 files modified. I just made corrections and added small comments.

Statistics:Posted by pbittner — 28 Apr 2010 21:11


]]>
2010-04-27T23:09:03+01:002010-04-27T23:09:03+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=655#p655 <![CDATA[Re: each statistic calculation can only be done once]]> Statistics:Posted by pbittner — 27 Apr 2010 23:09


]]>
2010-04-27T22:36:13+01:002010-04-27T22:36:13+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=654#p654 <![CDATA[Re: each statistic calculation can only be done once]]> bug tracker?

For sure you can have a look and propose a patch, that would be nice. As you suggested it the StatisticsModel is not correctly maintaining the list of Statistics instances.

Statistics:Posted by mbastian — 27 Apr 2010 22:36


]]>
2010-04-27T19:28:35+01:002010-04-27T19:28:35+01:00 https://forum-gephi.org/viewtopic.php?t=183&p=653#p653 <![CDATA[each statistic calculation can only be done once]]>
By looking at the source code of the module, it seems that the statistic is run correctly each time but the Statistics object used to generate the report (inside the method showReport of the class StatisticsFrontEnd) is always the one that was created the first time the statistic was run. The method doesn't use the last Statistics object created.

Is it a bug ? If so, do you mind if I have a look into it ?

Statistics:Posted by pbittner — 27 Apr 2010 19:28


]]>