Project

General

Profile

Idea #20803

DAQInterface's requirement that a boardreader FHiCL document be of the form <componentname>_hw_cfg.fcl should be removed

Added by John Freeman about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/11/2018
Due date:
% Done:

100%

Estimated time:
Experiment:
-
Duration:

Description

Gennadiy ran into some issues today trying to configure, since if you tell DAQInterface you want to use a boardreader, e.g.:

setdaqcomps.sh my_component

...then in the configuration, it will look not for mycomponent.fcl, but rather, mycomponent_hw_cfg.fcl, for historical reasons dating back to LBNE 35t. This is an unnecessary opportunity for users to trip up, and should be removed, while maintaining backwards compatibility with configurations that do contain files with names like mycomponent_hw_cfg.fcl

Associated revisions

Revision 9bddf461 (diff)
Added by John Freeman 11 months ago

JCF: when checking for duplicate FHiCL documents, treat <label>_hw_cfg.fcl and <label>.fcl as the same (see Issue #20803)

History

#1 Updated by John Freeman about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

A very simple change. With commit 7f7a747c6dbf9770ca1e0be9a2428cf5e1f570e5 on the develop branch, if a user specifies <componentname>, DAQInterface will accept either <componentname>_hw_cfg.fcl or <componentname>.fcl as the FHiCL document.



Also available in: Atom PDF