We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d8cfb commit 716a27aCopy full SHA for 716a27a
scripts/JSON_to_workspace.sh
@@ -33,10 +33,10 @@ function JSON_to_workspace() {
33
"${ANALYSIS_NAME}/workspaces/${JSON_WORKSPACE}"
34
35
# Convert to ROOT + XML
36
- if [[ ! -d "${ANALYSIS_NAME}/xml" ]]; then
37
- mkdir "${ANALYSIS_NAME}/xml"
+ if [[ -d "${ANALYSIS_NAME}/xml" ]]; then
+ rm -rf "${ANALYSIS_NAME}/xml"
38
fi
39
- rm -rf "${ANALYSIS_NAME}/xml"/*
+ mkdir "${ANALYSIS_NAME}/xml"
40
pyhf json2xml \
41
--output-dir "${ANALYSIS_NAME}/xml" \
42
0 commit comments