From 9f8a1fbc0567dc5b3e6ac85ac759badf79251738 Mon Sep 17 00:00:00 2001 From: Gustavo de Souza dos Reis Date: Thu, 31 Jul 2025 15:37:39 -0300 Subject: [PATCH] Use R macro to distinguish between different ROIs in NDROIStat8. This is needed to fix a bug where multiple records with the same name were created. --- ADApp/Db/NDROIStat8.template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ADApp/Db/NDROIStat8.template b/ADApp/Db/NDROIStat8.template index 95a147cbc..86ef5ac0a 100644 --- a/ADApp/Db/NDROIStat8.template +++ b/ADApp/Db/NDROIStat8.template @@ -26,35 +26,35 @@ include "NDROIStat.template" # Instantiate the ROI specific records ################################################################### -substitute "ROI=1:" +substitute "R=$(R)1:" substitute "ADDR=0" include "NDROIStatN.template" -substitute "ROI=2:" +substitute "R=$(R)2:" substitute "ADDR=1" include "NDROIStatN.template" -substitute "ROI=3:" +substitute "R=$(R)3:" substitute "ADDR=2" include "NDROIStatN.template" -substitute "ROI=4:" +substitute "R=$(R)4:" substitute "ADDR=3" include "NDROIStatN.template" -substitute "ROI=5:" +substitute "R=$(R)5:" substitute "ADDR=4" include "NDROIStatN.template" -substitute "ROI=6:" +substitute "R=$(R)6:" substitute "ADDR=5" include "NDROIStatN.template" -substitute "ROI=7:" +substitute "R=$(R)7:" substitute "ADDR=6" include "NDROIStatN.template" -substitute "ROI=8:" +substitute "R=$(R)8:" substitute "ADDR=7" include "NDROIStatN.template"