From 0b085107b87fa85b7922b4cc42c9292bfe9672c0 Mon Sep 17 00:00:00 2001 From: chuwang1 <chuw@cern.ch> Date: Tue, 24 Sep 2024 15:37:43 +0200 Subject: [PATCH] Fix crash --- dhi/tasks/FinalFits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhi/tasks/FinalFits.py b/dhi/tasks/FinalFits.py index 0c942984..962ea59a 100644 --- a/dhi/tasks/FinalFits.py +++ b/dhi/tasks/FinalFits.py @@ -111,7 +111,7 @@ class BackgroundFits(FinalFitsBase,BackgroundFitsCommandTask): def build_command(self, fallback_level): inputs = self.input() - cmd = ("{CMSSW}/src/flashggFinalFit/Background/bin/fTest -i {self.workspace} -D outdir_{self.ext}_{self.year}/bkgfTest-Data -f {self.cats} --isData {self.isData} --year {self.year} --catOffset {self.catOffset} --saveMultiPdf outdir_{self.ext}_{self.year}/CMS-HGG_multipdf_{self.cats}.root" + cmd = ("cd {CMSSW}/src/flashggFinalFit/Background && {CMSSW}/src/flashggFinalFit/Background/bin/fTest -i {self.workspace} -D outdir_{self.ext}_{self.year}/bkgfTest-Data -f {self.cats} --isData {self.isData} --year {self.year} --catOffset {self.catOffset} --saveMultiPdf outdir_{self.ext}_{self.year}/CMS-HGG_multipdf_{self.cats}.root " "&& mv {CMSSW}/src/flashggFinalFit/Background/outdir_{self.ext}_{self.year}/CMS-HGG_multipdf_{self.cats}.root " "{output}" ).format( -- GitLab