Closed jebuss closed 6 years ago
fact.datacorrection.DrsCalibration
will anyways search the data item for @drsFile
if no URL is provided:
https://github.com/fact-project/fact-tools/blob/328feab9e6b9136057e410a8227395a206298b6e/src/main/java/fact/datacorrection/DrsCalibration.java#L40-L42
This problem is also in part a problem that is also discussed in #351
Using the recent fact-tools version with erna.process_fact_data does not work anymore for two reasons:
fact.auxservice.SqliteService
, which is not needed anymore since there isfact.auxservice.AuxFileService
that can handle directory trees.https://github.com/fact-project/fact-tools/blob/328feab9e6b9136057e410a8227395a206298b6e/examples/forErna/std_analysis_erna_observations.xml#L8-L12
fact.io.FactFileListMultiStream
butclasspath:/analysis/calibration.xml
usesfact.datacorrection.DrsCalibration
with a URL given by a property"${drsfile}"
this way the key@drsFile
is never checked.https://github.com/fact-project/fact-tools/blob/328feab9e6b9136057e410a8227395a206298b6e/src/main/resources/analysis/calibration.xml#L11-L15
I suggest:
fact.auxservice.SqliteService
byfact.auxservice.AuxFileService
<stream.data.SetValue key="@drsFile" value "${drsfile}"/>
into the std-analysis.