From 8dfa7bd9a81a461b33f19a3fb29f80e4c0b586d8 Mon Sep 17 00:00:00 2001 From: Tom Titcombe <t.j.titcombe@gmail.com> Date: Thu, 6 Dec 2018 10:29:10 +0000 Subject: [PATCH] Remove failing lines from __init__ Refs #24262 --- scripts/FilterEvents/__init__.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/scripts/FilterEvents/__init__.py b/scripts/FilterEvents/__init__.py index f36bcc5b9a2..d2cfb75232d 100644 --- a/scripts/FilterEvents/__init__.py +++ b/scripts/FilterEvents/__init__.py @@ -4,17 +4,3 @@ # NScD Oak Ridge National Laboratory, European Spallation Source # & Institut Laue - Langevin # SPDX - License - Identifier: GPL - 3.0 + -# Note that this a workaround -# When introduced? During the Python2 to Python3 conversion -# Why introduced? The autogenerated file ui_MainWindow.py contains a line -# from MplFigureCancas import MplFigureCanvas -# which should be -# from .MpsFigureCanvas import MplFigureCanvas -# for Python3, but since it is autogenerated we cannot change -# this easily. -import mantid -import os -import sys -path = mantid.config["pythonscripts.directories"].split(";")[0] -path = os.path.join(path[:path.index("scripts")], "scripts", "FilterEvents") -sys.path.append(path) -- GitLab