Project

General

Profile

Bug #923

The header fhcl file does not allow to use previously defined configurations

Added by Denis Perevalov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Category:
Infrastructure
Target version:
Start date:
02/03/2011
Due date:
% Done:

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

In one of the header fhcl files (the one that has BEGIN_PROLOG/END_PROLOG and is included by the job fhcl file) I need to be able to use previously defined configurations. For example:
BEGIN_PROLOG
standard_configuration: {
FluxType: mono
FluxFile: "standard_filename"
}

my_new_configuration: @local::standard_configuration
my_new_configuration.FluxFile: "new_filename"

END_PROLOG

This is so that I don't have to type the whole block of all parameters for "my_new_configuration", if only a couple of them are different from the standard configuration.

Right now if I use it this way, it spits out the following error message in the warning.log file:
cet::exception caught in art
---- Can't find key BEGIN
FluxFile
---- Can't find key END

Associated revisions

Revision a2b9ddc9 (diff)
Added by Christopher Green over 9 years ago

Test to demonstrate failure of ART issue #923.

History

#1 Updated by Christopher Green over 9 years ago

  • Category set to Infrastructure
  • Status changed from New to Assigned
  • Assignee set to Christopher Green

Attempting to reproduce your problem, Denis. Please stand by.

#2 Updated by Christopher Green over 9 years ago

  • Assignee changed from Christopher Green to Walter E Brown

Hi Denis,

We have reproduced and identified the problem and are working on a fix.

Thank you for your report.

#3 Updated by Christopher Green over 9 years ago

Please note: depending on your particular needs, there may be a workaround:

If you place the "deep injection" lines in your main config as opposed to the included prologue, everything should behave as expected. However, I will reiterate that we are working on a fix right now to provoke the desired behavior of your particular example.

#4 Updated by Walter E Brown over 9 years ago

Fixed in FHiCL-cpp v2_10_3

#5 Updated by Walter E Brown over 9 years ago

  • Status changed from Assigned to Resolved

Next release of art will require FHiCL-cpp v2_10_3.

#6 Updated by Christopher Green over 9 years ago

  • Target version set to 0.4.2
  • % Done changed from 0 to 100

#7 Updated by Christopher Green over 9 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF