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

flake 8 whitespace changes

parent 9ac42d37
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class Model(object): class Model(object):
def __init__(self): def __init__(self):
self.result = 0 self.result = 0
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class Presenter(object): class Presenter(object):
# Pass the view and model into the presenter # Pass the view and model into the presenter
def __init__(self, demo_view, demo_model): def __init__(self, demo_view, demo_model):
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
def sequoia(name): def sequoia(name):
name = name.strip().upper() name = name.strip().upper()
packs = (['B{}'.format(i) for i in range(1, 37+1)] packs = (['B{}'.format(i) for i in range(1, 37+1)]
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class AxisChangerPresenter(object): class AxisChangerPresenter(object):
def __init__(self, view): def __init__(self, view):
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
# TODO convert back to NamedTuple with defined types in Python 3 # TODO convert back to NamedTuple with defined types in Python 3
class FloatRange(object): class FloatRange(object):
start = None # : float start = None # : float
end= None #: float end= None #: float
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class MonitorID(object): class MonitorID(object):
def __init__(self, monitor_spec_num, monitor_name = None): def __init__(self, monitor_spec_num, monitor_name = None):
self.monitor_name = monitor_name self.monitor_name = monitor_name
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class XYPosition(object): class XYPosition(object):
X = None # Float X = None # Float
Y = None # Float Y = None # Float
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class RunSelectionModel(object): class RunSelectionModel(object):
def __init__(self, on_change, runs = None): def __init__(self, on_change, runs = None):
self._on_change = on_change self._on_change = on_change
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class SummableRunFile(object): class SummableRunFile(object):
def __init__(self, path, run_number, is_event_mode): def __init__(self, path, run_number, is_event_mode):
assert(type(path) == str) assert(type(path) == str)
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
# NScD Oak Ridge National Laboratory, European Spallation Source, # NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS # Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 + # SPDX - License - Identifier: GPL - 3.0 +
class StateRunDataBuilder(object): class StateRunDataBuilder(object):
def __init__(self, file_information): def __init__(self, file_information):
self._file_information = file_information self._file_information = file_information
......
Supports Markdown
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