The Statistics report is not updated after executing the Metric again

Bug #570971 reported by Paul-Antoine Bittner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
Medium
Unassigned
0.7
Fix Released
Medium
Unassigned

Bug Description

The first time a statistic is calculated, the values of the parameters used (epsilon, directed/undirected...) are correctly interpreted and the report shown. But if we try to run a statistic calculation again with other values for the parameters, the report shown is always the first one that was created.

It seems that the statistic is run correctly each time but the Statistics instance 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 instance created.

Tags: statistics
Changed in gephi:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 0.7alpha3
tags: added: statistics
Changed in gephi:
assignee: nobody → Paul-Antoine Bittner (pbittner)
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Confirmed
summary: - The StatisticsModel is not correctly maintaining the list of Statistics
- instances
+ The Statistics report is not updated after executing the Metric again
Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.