Skip to content
Snippets Groups Projects
Commit e5a63af1 authored by Torben Lange's avatar Torben Lange
Browse files

Fix installation problems with custom combine

parent 2b03c5e7
No related branches found
No related tags found
No related merge requests found
Pipeline #6934210 failed
...@@ -138,16 +138,15 @@ setup() { ...@@ -138,16 +138,15 @@ setup() {
scram b scram b
) || return "$?" ) || return "$?"
local combine_repo="https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git" local combine_install="${DHI_COMBINE_VERSION} https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git"
if [[ ${DHI_COMBINE_VERSION} == "lviliani:14x-comb2023" ]]; then if [ -z ${DHI_COMBINE_REPO} ]; then
export DHI_COMBINE_VERSION="14x-comb2023" local combine_install="${DHI_COMBINE_VERSION} ${DHI_COMBINE_REPO}"
local combine_repo="https://github.com/lviliani/HiggsAnalysis-CombinedLimit.git"
fi fi
# add combine # add combine
( (
cd "${DHI_CMSSW_BASE}/${DHI_CMSSW_VERSION}/src" cd "${DHI_CMSSW_BASE}/${DHI_CMSSW_VERSION}/src"
eval "$( scramv1 runtime -sh )" && \ eval "$( scramv1 runtime -sh )" && \
git clone --branch "${DHI_COMBINE_VERSION}" ${combine_repo} HiggsAnalysis/CombinedLimit && \ git clone --branch ${combine_install} HiggsAnalysis/CombinedLimit && \
cd HiggsAnalysis/CombinedLimit && \ cd HiggsAnalysis/CombinedLimit && \
chmod ug+x test/diffNuisances.py && \ chmod ug+x test/diffNuisances.py && \
( [ "${DHI_COMBINE_PYTHON_ONLY}" = "1" ] && scram b python || scram b -j "${DHI_INSTALL_CORES}" ) ( [ "${DHI_COMBINE_PYTHON_ONLY}" = "1" ] && scram b python || scram b -j "${DHI_INSTALL_CORES}" )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment