Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyisi committed Oct 3, 2024
1 parent cdfe642 commit 54ba646
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions analyses/atlas-open-data-hzz/HZZ_analysis_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"import utils\n",
"from utils import infofile # contains cross-section information\n",
"\n",
"import servicex\n",
"\n",
"import vector\n",
"vector.register_awkward()\n",
"\n",
"import servicex\n",
"\n",
"utils.clean_up() # delete output from previous runs of notebook (optional)\n",
"utils.set_logging() # configure logging output"
]
Expand Down
4 changes: 2 additions & 2 deletions analyses/atlas-open-data-hzz/HZZ_analysis_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
import utils
from utils import infofile # contains cross-section information

import servicex

import vector
vector.register_awkward()

import servicex

utils.clean_up() # delete output from previous runs of notebook (optional)
utils.set_logging() # configure logging output

Expand Down
1 change: 0 additions & 1 deletion analyses/atlas-open-data-hzz/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import os
import shutil

from func_adl import ObjectStream
import matplotlib.pyplot as plt
import numpy as np

Expand Down
3 changes: 2 additions & 1 deletion analyses/cms-open-data-ttbar/ttbar_analysis_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@
" if self.use_triton:\n",
" triton_client = utils.clients.get_triton_client(utils.config[\"ml\"][\"TRITON_URL\"])\n",
" else:\n",
" if utils.ml.model_even is None: utils.ml.load_models()\n",
" if utils.ml.model_even is None:\n",
" utils.ml.load_models()\n",
"\n",
"\n",
" #### systematics\n",
Expand Down
3 changes: 2 additions & 1 deletion analyses/cms-open-data-ttbar/ttbar_analysis_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ def process(self, events):
if self.use_triton:
triton_client = utils.clients.get_triton_client(utils.config["ml"]["TRITON_URL"])
else:
if utils.ml.model_even is None: utils.ml.load_models()
if utils.ml.model_even is None:
utils.ml.load_models()


#### systematics
Expand Down

0 comments on commit 54ba646

Please sign in to comment.