Project

General

Profile

Bug #11354

Parameter Set Editing appears not to handle parameter strings with colons in them properly

Added by Thomas Junk almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/05/2016
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Apparent problem in EventDisplayBase/ParameterSetEdit.cxx, though the problem may
be elsewhere. evdb::parse_pset_string
makes pairs of names and values, which are strings. If the strings have colons in them then
they should be enclosed in quotes, but somehow the quotes get stripped. Chasing the arguments backwards, line 136 of ServiceTable.cxx calls the to_string method of a fhicl::ParameterSet, and passes that to ParameterSetEdit. The quotes could be lost at that point, not sure. One could try to put quotes back around the string parameter values, but one has to be careful to re-escape the characters that need it.

The originalreport comes from Michelle Stancari -- I just did some hunting around in the source.
Here's her e-mail:

The lines below are in the evd.fcl file that starts the job,

services.user.RawDrawingOptions.TPC: 1 #TPC 1 is the main drift volume in 35t
#services.user.RawDrawingOptions.RawDataLabel: "daq" #default option
services.user.RawDrawingOptions.RawDataLabel: "SplitterInput:TPC" #slicer

I can change to TPC 5 if I change the above line before I launch the job,
but when I try to change TPCs in the event display menus, I get the following error: **********************************************
6531 subRun: 1 event: 1 ServiceTable.cxx:180
Error parsing the new configuration:
---- Parse error BEGIN
detected at or near line 6, character 27, of file "-"
RawDataLabel:SplitterInput:TPC
^
---- Parse error END


Also available in: Atom PDF