Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindsey Gray authored and Lindsey Gray committed May 29, 2019
1 parent b7c6af0 commit a31d09d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def __init__(self, **kwargs):

campaign = _checkConsistency(campaign, info[0])
dataera = _checkConsistency(dataera, info[1])
datatype = _checkConsistency(datatype, info[2+offset])
levels.append(info[3+offset])
datatype = _checkConsistency(datatype, info[2 + offset])
levels.append(info[3 + offset])
funcs.append(func)
jettype = _checkConsistency(jettype, info[4+offset])
jettype = _checkConsistency(jettype, info[4 + offset])

if campaign is None:
raise Exception('Unable to determine production campaign of JECs!')
Expand Down
6 changes: 3 additions & 3 deletions fnal_column_analysis_tools/processor/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def run_uproot_job(fileset, treename, processor_instance, executor, executor_arg
if not isinstance(processor_instance, ProcessorABC):
raise ValueError("Expected processor_instance to derive from ProcessorABC")

executor_args.setdefault('workers',1)
executor_args.setdefault('workers', 1)

items = []
for dataset, filelist in tqdm(fileset.items(), desc='Preprocessing'):
Expand Down Expand Up @@ -173,7 +173,7 @@ def run_parsl_job(fileset, treename, processor_instance, executor, data_flow=Non

if executor_args['config'] is None:
executor_args.pop('config')

# initialize spark if we need to
# if we initialize, then we deconstruct
# when we're done
Expand Down Expand Up @@ -252,7 +252,7 @@ def run_spark_job(fileset, processor_instance, executor, executor_args={},

if executor_args['config'] is None:
executor_args.pop('config')

# initialize spark if we need to
# if we initialize, then we deconstruct
# when we're done
Expand Down

0 comments on commit a31d09d

Please sign in to comment.