diff --git a/scripts/FilterEvents/__init__.py b/scripts/FilterEvents/__init__.py index f36bcc5b9a2ce4b7d542e3cbc8851af5e5517af8..d2cfb75232dfb59fac674e2b49dba356e18ebbc1 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)