|
38 | 38 | from string_tools import StringTools |
39 | 39 |
|
40 | 40 | from madanalysis.configuration.delphes_configuration import DelphesConfiguration |
41 | | -from madanalysis.configuration.delphesMA5tune_configuration import ( |
42 | | - DelphesMA5tuneConfiguration, |
43 | | -) |
| 41 | +from madanalysis.configuration.delphesMA5tune_configuration import DelphesMA5tuneConfiguration |
44 | 42 | from madanalysis.install.detector_manager import DetectorManager |
45 | 43 | from madanalysis.IOinterface.folder_writer import FolderWriter |
46 | 44 | from madanalysis.IOinterface.job_writer import JobWriter |
47 | 45 | from madanalysis.IOinterface.library_writer import LibraryWriter |
48 | | -from madanalysis.misc.histfactory_reader import ( |
49 | | - HF_Background, |
50 | | - HF_Signal, |
51 | | - construct_histfactory_dictionary, |
52 | | -) |
| 46 | +from madanalysis.misc.histfactory_reader import HF_Background, HF_Signal, construct_histfactory_dictionary |
53 | 47 | from madanalysis.misc.theoretical_error_setup import error_dict_setup |
54 | 48 |
|
55 | 49 | # pylint: disable=logging-fstring-interpolation,import-outside-toplevel |
@@ -541,7 +535,9 @@ def run_SimplifiedFastSim(self, dataset, card, analysislist): |
541 | 535 | self.logger.error("run over '" + dataset.name + "' aborted.") |
542 | 536 | return False |
543 | 537 | self.logger.info(" *******************************************************") |
544 | | - |
| 538 | + |
| 539 | + os.environ["FASTJET_FLAG"] = "" |
| 540 | + |
545 | 541 | if not os.path.isdir(self.dirname + "/Output/SAF/" + dataset.name): |
546 | 542 | os.mkdir(self.dirname + "/Output/SAF/" + dataset.name) |
547 | 543 | for analysis in analysislist: |
@@ -1126,10 +1122,7 @@ def compute_cls(self, analyses, dataset): |
1126 | 1122 | import spey |
1127 | 1123 | from spey.system.webutils import get_bibtex |
1128 | 1124 |
|
1129 | | - from .statistical_models import ( |
1130 | | - compute_poi_upper_limits, |
1131 | | - initialise_statistical_models, |
1132 | | - ) |
| 1125 | + from .statistical_models import compute_poi_upper_limits, initialise_statistical_models |
1133 | 1126 |
|
1134 | 1127 | ## Checking whether the CLs module can be used |
1135 | 1128 | ET = self.check_xml_scipy_methods() |
|
0 commit comments