"docs/source/algorithms/RetrieveRunInfo-v1.rst" did not exist on "e36bbb8e157e6eeed2503dd8afefc46898aa631a"
Newer
Older
#pylint: disable=invalid-name,unused-import
from PyQt4 import QtGui
from DGSPlanner import DGSPlannerGUI
def qapp():
if QtGui.QApplication.instance():
_app = QtGui.QApplication.instance()
else:
_app = QtGui.QApplication(sys.argv)
if __name__ == '__main__':
app = qapp()
planner = DGSPlannerGUI.DGSPlannerGUI()
planner.show()
try: #check if started from within mantidplot
import mantidplot
except ImportError:
sys.exit(app.exec_())