Skip to content

fix the error for submit merge

Ekaterina Ramakoti requested to merge submit_merge_error into master

The commit in HWWAnalysisCode master: "remove theo-bkg" (609050a75640d0d9289507eef2aaf58e1040782f) was the cause of failing of submit-merge.py

The changes came from a parent branch 'first-v22-vbf-setup' with commit "update CAFcore to fix submit problem" (3b8c303664474046f0bf4c774d916aad35901fd9) @chenj

Details:

script HWWAnalysisCode/share/submit-merge.py failed with error:

File "~/HWWAnalysis/build/x86_64-centos7-gcc8-opt/python/CommonAnalysisHelpers/submit.py", line 291, in makePreMergeTaskList
    if args.maxFiles == -1: args.maxFiles = int(math.ceil(math.sqrt(len(inputFiles))))
UnboundLocalError: local variable 'math' referenced before assignment

Merge request reports