From 37b1c5620643ffc9c32799124d69d5f853ef1e23 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Sat, 27 Apr 2019 13:03:36 +0200 Subject: [PATCH] linting after merge --- mtor/__init__.py | 4 ++-- mtor/dataproc.py | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mtor/__init__.py b/mtor/__init__.py index 4f47080..5587d5c 100644 --- a/mtor/__init__.py +++ b/mtor/__init__.py @@ -12,7 +12,7 @@ warnings.filterwarnings("ignore") def run(): - # settings = prescan_workflow("mtor-bilder", 50, 910, 300, 660) + # pw = prescan_workflow("mtor-bilder", 50, 910, 300, 660) pw = prescan_workflow("mtor-bilder", 50, 725 + 150, 300, 725) iw = image_workflow(pw.parameters) dw = data_workflow(iw.data, iw.parameters) @@ -20,4 +20,4 @@ def run(): def run_data(): - cw = cached_data_workflow("mtor-bilder") + cached_data_workflow("mtor-bilder") diff --git a/mtor/dataproc.py b/mtor/dataproc.py index 7624b5c..834abee 100644 --- a/mtor/dataproc.py +++ b/mtor/dataproc.py @@ -140,7 +140,10 @@ def find_guard_threshold(data_frame, parameters): pyplot.clf() peakplot_iloc( - pandas.Series(guard_edges), pandas.Series(guard_counts_filtered), [first_minima_position], "minima" + pandas.Series(guard_edges), + pandas.Series(guard_counts_filtered), + [first_minima_position], + "minima", ) pyplot.title( (