Project

General

Profile

Bug #11913

Invalid JSON syntax for "runs" array when multiple subruns are processed

Added by Herbert Greenlee over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Application
Target version:
Start date:
03/07/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
MicroBooNE
SSI Package:
art
Duration:

Description

This is a bug report for RootOutput module. Behavior reported here was observed in art v1_15_02.

Sam metadata data_stream (aka streamName) is missing from internal metadata of an output file if the output file contains zero events. Data tier is included in metadata even if output has zero events.

Associated revisions

Revision 4412af61 (diff)
Added by Kyle Knoepfel over 3 years ago

Implement fix for #11913: Invalid JSON syntax values for 'runs' FileCatalog metadata

History

#1 Updated by Herbert Greenlee over 3 years ago

I think you can close this issue. I misdiagnosed the problem. The data stream is included, but in some cases, sam_metadata_dumper generates unparsable json output, which caused the script that was the artroot file to not find the data stream.

#2 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Feedback

Do you then believe there is a bug to be reported for sam_metadata_dumper? If so, please give us an example so we can reproduce the problem.

#3 Updated by Kyle Knoepfel over 3 years ago

  • Subject changed from Missing stream name in zero-event files to Invalid JSON syntax for "runs" array when multiple subruns are processed

Herb, I've changed the title of this issue to reflect that if multiple subruns are processed, the following runs value placed in the RootFileDB is (e.g.):

"runs": [ [ 1, 0, "MCChallenge" ], , [ 1, 1, "MCChallenge" ] ]

where an empty element is prepended to each triplet (after the first) in the array.

#4 Updated by Kyle Knoepfel over 3 years ago

  • Category set to Application
  • Status changed from Feedback to Resolved
  • Assignee set to Kyle Knoepfel
  • % Done changed from 0 to 100
  • SSI Package art added
  • SSI Package deleted ()

Fix implemented with commit art:4412af6.

#5 Updated by Kyle Knoepfel over 3 years ago

  • Target version set to 2.00.01

#6 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF