Commit 60fa5917 authored by Nick Draper's avatar Nick Draper
Browse files

flake 8 whitespace changes

parent 9ac42d37
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class Model(object):
def __init__(self):
self.result = 0
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class Presenter(object):
# Pass the view and model into the presenter
def __init__(self, demo_view, demo_model):
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
def sequoia(name):
name = name.strip().upper()
packs = (['B{}'.format(i) for i in range(1, 37+1)]
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class AxisChangerPresenter(object):
def __init__(self, view):
......
......@@ -5,6 +5,8 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
# TODO convert back to NamedTuple with defined types in Python 3
class FloatRange(object):
start = None # : float
end= None #: float
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class MonitorID(object):
def __init__(self, monitor_spec_num, monitor_name = None):
self.monitor_name = monitor_name
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class XYPosition(object):
X = None # Float
Y = None # Float
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class RunSelectionModel(object):
def __init__(self, on_change, runs = None):
self._on_change = on_change
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class SummableRunFile(object):
def __init__(self, path, run_number, is_event_mode):
assert(type(path) == str)
......
......@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
class StateRunDataBuilder(object):
def __init__(self, file_information):
self._file_information = file_information
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment