Project

General

Profile

Bug #1437

Tracker station numbering bug

Added by Pidcott, Celeste about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tracker
Target version:
-
Start date:
24 March 2014
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

Looking through scifi trackpoints in a sample Json file (attached), noticed that the station numbering goes from 0-5, so there is obviously an error there somewhere.


Files

temp.json (12.2 MB) temp.json Sample Json that includes events where station numbering goes from 0-5 Pidcott, Celeste, 24 March 2014 15:03
#1

Updated by Rajaram, Durga about 7 years ago

I think Peter saw the same thing earlier -- #1394

#2

Updated by Pidcott, Celeste about 7 years ago

Bug found in SciFiTrackPoints.cc, problem was at line 53 where station number was set by (cluster) id/3, however id is an int that runs from 1-15, so in the case of 1 and 2 it is returning a station of 0, and in other cases the station is sometimes being set as 1 less than it should be. Changing the line to _station = ((id-1)/3)+1 fixes the issue. Adam has applied the change in the tracker branch.

#3

Updated by Dobbs, Adam almost 7 years ago

  • Assignee changed from Santos, Edward to Dobbs, Adam

Fixed in tracker branch, waiting for merge to trunk.

#4

Updated by Rajaram, Durga almost 7 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF