From 9fcfd2ee8d80334f92c11b21e3e96f70916ee30d Mon Sep 17 00:00:00 2001 From: y8z Date: Mon, 7 Oct 2024 01:32:25 -0400 Subject: [PATCH] fix flake8 issues --- addie/addiedriver.py | 2 +- addie/calculate_gr/gofrtree.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/addie/addiedriver.py b/addie/addiedriver.py index e95e1b45..4895e4fb 100644 --- a/addie/addiedriver.py +++ b/addie/addiedriver.py @@ -496,7 +496,7 @@ def load_sq(self, file_name): return sq_ws_name, q_min, q_max # The S(Q) file is in fact S(Q)-1 in sq file. So need to add 1 to # the workspace - out_ws = AnalysisDataService.retrieve(sq_ws_name) + # out_ws = AnalysisDataService.retrieve(sq_ws_name) # out_ws += 1 elif ext == 'SQ': try: diff --git a/addie/calculate_gr/gofrtree.py b/addie/calculate_gr/gofrtree.py index f232bfd4..05483b0d 100644 --- a/addie/calculate_gr/gofrtree.py +++ b/addie/calculate_gr/gofrtree.py @@ -369,7 +369,6 @@ def do_plot(self): False ) - def do_remove_from_plot(self): """ Remove the selected item from plot if it is plotted