Newer
Older
# Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source
# & Institut Laue - Langevin
# SPDX - License - Identifier: GPL - 3.0 +
from __future__ import (absolute_import, division, print_function)
from gui_helper import set_matplotlib_backend, get_qapplication
set_matplotlib_backend() # must be called before anything tries to use matplotlib
from FilterEvents import eventFilterGUI # noqa
app, within_mantid = get_qapplication()
reducer = eventFilterGUI.MainWindow() #the main ui class in this file is called MainWindow
if not within_mantid:
sys.exit(app.exec_())