Project

General

Profile

Bug #1454

NaN in SciFi PR tracks

Added by Rajaram, Durga over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tracker
Target version:
Start date:
11 April 2014
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

SciFiHelicalPRTrack::_chisq_dof is sometimes NaN and gets written to the json output as a nan

"chisq_dof":-nan

When one tries to use this as an input, the JSON parser thinks nan is a string, but since it's not encapsulated within quotes, the decoding fails.

See Issue #1453 and see attached example of offending json

If the fit fails or if n_points is 0, chisq_dof should be set to some nonsense value instead of letting it remain not-a-number
Should probably also check if there are other potential NaN sources


Files

spill23.json (158 KB) spill23.json spill document with a nan Rajaram, Durga, 11 April 2014 01:01

Related issues

Related to MAUS - Bug #1453: MAUS skipping eventsClosedRajaram, Durga09 April 2014

Actions
#1

Updated by Dobbs, Adam over 9 years ago

Should now be fixed in tracker branch. Waiting for merge to trunk.

#2

Updated by Rajaram, Durga over 9 years ago

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

Also available in: Atom PDF