Skip to content
Snippets Groups Projects
Commit 2254aeca authored by Jan Lukas Spah's avatar Jan Lukas Spah :leaves:
Browse files

Correcting logic error in NNLOPS bs

parent effa0970
No related branches found
No related tags found
1 merge request!239Correcting logic error in NNLOPS bs
Pipeline #7582439 passed
...@@ -609,7 +609,7 @@ def NNLOPS( ...@@ -609,7 +609,7 @@ def NNLOPS(
json_file = os.path.join(os.path.dirname(__file__), "JSONs/NNLOPS_reweight.json") json_file = os.path.join(os.path.dirname(__file__), "JSONs/NNLOPS_reweight.json")
if is_correction: if is_correction:
if 'ggh' or 'glugluh' not in dataset_name.lower(): if 'ggh' not in dataset_name.lower() and 'glugluh' not in dataset_name.lower():
logger.info(f"\n WARNING: You specified NNLOPS reweighting for dataset with {dataset_name} but this does not appear like a ggF sample. Consider checking your runner JSON Proceed with caution.") logger.info(f"\n WARNING: You specified NNLOPS reweighting for dataset with {dataset_name} but this does not appear like a ggF sample. Consider checking your runner JSON Proceed with caution.")
# Extract NNLOPS weights from json file # Extract NNLOPS weights from json file
with open(json_file, "r") as jf: with open(json_file, "r") as jf:
......
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