Skip to content

RCG fails to rationalize casing of IFO variable

The cdsParameters block expects the "site" parameter to actually be set to the ifo (e.g. "H1") (see #9 (closed)). It additionally requires that the ifo designator be upper case, although this is not explicitly checked.

For example, for model "x1iop" with cdsParameter "site=x1", the RCG builds the sequencer db in

target/x1iopepics/db/x1

However, the Makefile then expects the sequencer db at

target/x1iopepics/db/X1

which does not exist, so the build fails with the following error:

***ERROR: target/x1iopepics/db/X1/x1iop1.db does NOT exist

The RCG should rationalize the casing of all variables appropriately, rather than requiring they be set with a particular case.

As an aside, it's unfortunate that the casing is different all over the place.