Skip to content

Commit

Permalink
Flake8 fixes in mw_view.py
Browse files Browse the repository at this point in the history
Re #84
  • Loading branch information
DanNixon committed Sep 21, 2017
1 parent 233fa09 commit f418f36
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mantidimaging/gui/main_window/mw_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def show_save_dialogue(self):
self.save_dialogue.show()

def stack_names(self):
# unpacks the tuple and only gives the correctly sorted human readable names
# unpacks the tuple and only gives the correctly sorted human readable
# names
return self.presenter.stack_names()

def stack_list(self):
Expand Down Expand Up @@ -85,12 +86,13 @@ def create_stack_window(self,
return dock_widget

def remove_stack(self, obj):
getLogger(__name__).debug("Removing stack with uuid {}".format(obj.uuid))
getLogger(__name__).debug("Removing stack with uuid %s", obj.uuid)
self.presenter.remove_stack(obj.uuid)

def algorithm_accepted(self, stack_uuid, algorithm_dialog):
"""
We forward the data onwards to the presenter and then the model, so that we can have a passive view.
We forward the data onwards to the presenter and then the model, so
that we can have a passive view.
:param stack_uuid: The unique ID of the stack
Expand Down

0 comments on commit f418f36

Please sign in to comment.