Installer (#840)

This commit is contained in:
Charlotte Weaver
2019-07-12 12:29:22 -07:00
committed by GitHub
parent 777214cc14
commit 3d98797d8c
12 changed files with 383 additions and 10 deletions
+4 -3
View File
@@ -1,6 +1,6 @@
# flake8: noqa F403, F405
from functools import partialmethod
from multiprocessing import Pipe, Process
from multiprocessing import Pipe, Process, freeze_support
from os import environ
from os.path import splitext, basename, dirname, join
import sys
@@ -172,7 +172,7 @@ class LoadWidget(QFrame):
# UI section
# TODO add cancel button to send back to browser (if available)
self.file_area = FileArea()
self.file_area = FileArea(self)
self.file_name.signals.changed.connect(self.updatePath)
self.launch_widget = QLabel("Select a file to launch cellxgene")
@@ -301,7 +301,7 @@ class FilePath(QObject):
class FileArea(QFrame):
def __init__(self):
def __init__(self, parent):
super(FileArea, self).__init__()
self.setFrameShape(QFrame.Box)
self.setMinimumHeight(100)
@@ -357,6 +357,7 @@ class FileArea(QFrame):
def main():
freeze_support()
# This generates an error.log file on error
sys.excepthook = cef.ExceptHook # To shutdown all CEF processes on error
settings = {}