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

Another try to allow for custom combine..

parent e5a63af1
Branches ATLASCMS
No related tags found
No related merge requests found
Pipeline #7119315 failed
...@@ -138,15 +138,12 @@ setup() { ...@@ -138,15 +138,12 @@ setup() {
scram b scram b
) || return "$?" ) || return "$?"
local combine_install="${DHI_COMBINE_VERSION} https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git" [ -z "${DHI_COMBINE_REPO}" ] && export DHI_COMBINE_REPO="//github.com/cms-analysis/HiggsAnalysis-CombinedLimit.git"
if [ -z ${DHI_COMBINE_REPO} ]; then
local combine_install="${DHI_COMBINE_VERSION} ${DHI_COMBINE_REPO}"
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 ${combine_install} HiggsAnalysis/CombinedLimit && \ git clone --branch ${DHI_COMBINE_VERSION} ${DHI_COMBINE_REPO} 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.
Finish editing this message first!
Please register or to comment