-
Notifications
You must be signed in to change notification settings - Fork 6
/
LipidHunter.py
40 lines (33 loc) · 1.53 KB
/
LipidHunter.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016-2019 SysMedOs_team @ AG Bioanalytik, University of Leipzig:
# SysMedOs_team: Zhixu Ni, Georgia Angelidou, Mike Lange, Maria Fedorova
# LipidHunter is Dual-licensed
# For academic and non-commercial use: `GPLv2 License` Please read more information by the following link:
# [The GNU General Public License version 2] (https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
# For commercial use:
# please contact the SysMedOs_team by email.
# Please cite our publication in an appropriate form.
# Ni, Zhixu, Georgia Angelidou, Mike Lange, Ralf Hoffmann, and Maria Fedorova.
# "LipidHunter identifies phospholipids by high-throughput processing of LC-MS and shotgun lipidomics datasets."
# Analytical Chemistry (2017).
# DOI: 10.1021/acs.analchem.7b01126
#
# For more info please contact:
# Developer Zhixu Ni zhixu.ni@uni-leipzig.de
# Developer Georgia Angelidou georgia.angelidou@uni-leipzig.de
import multiprocessing
import os
import sys
from PySide2 import QtCore, QtWidgets
from LibLipidHunter.LipidHunter_Main import LipidHunterMain
if __name__ == "__main__":
multiprocessing.freeze_support()
# Scale GUI on HiDPI monitors e.g. 2k, 4k resolution
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
QtCore.QCoreApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps)
gui = QtWidgets.QApplication(sys.argv)
usr_cwd = os.getcwd()
LipidHunter = LipidHunterMain(cwd=usr_cwd)
LipidHunter.show()
sys.exit(gui.exec_())