Skip to content

Commit

Permalink
flake8 comments for #149
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Jul 22, 2019
1 parent 1c3bb5d commit 2c431bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions coffea/jetmet_tools/JetCorrectionUncertainty.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from ..util import numpy as np
from copy import deepcopy


import re


def _checkConsistency(against, tocheck):
if against is None:
against = tocheck
Expand All @@ -21,7 +21,7 @@ def _checkConsistency(against, tocheck):
def split_jec_name(name):
info = name.split('_')

#Check for the case when the dataera name contains a _ like "17Nov2017_V6"
# Check for the case when the dataera name contains a _ like "17Nov2017_V6"
if re.match(r"V[0-9]+", info[2]):
dataera = info[1] + info[2]
info.pop(2)
Expand All @@ -42,6 +42,7 @@ def split_jec_name(name):

return campaign, dataera, datatype, level, jettype


class JetCorrectionUncertainty(object):
"""
This class is a columnar implementation of the JetCorrectionUncertainty tool in
Expand Down

0 comments on commit 2c431bc

Please sign in to comment.