comment out lines to make all working again
This commit is contained in:
@@ -12,8 +12,8 @@ import zmq
|
||||
from os.path import join
|
||||
from pathlib import Path
|
||||
|
||||
import qsingleton
|
||||
from CoordinatesModel import CoordinatesModel
|
||||
#import qsingleton #ZAC: orig. code
|
||||
#from CoordinatesModel import CoordinatesModel #ZAC: orig. code
|
||||
from app_config import settings, appsconf, option
|
||||
|
||||
EMBL_RESULTS_TIMEOUT = "embl/results_timeout"
|
||||
@@ -48,10 +48,10 @@ from PyQt5.QtWidgets import (
|
||||
QProgressDialog,
|
||||
)
|
||||
|
||||
import storage
|
||||
#import storage
|
||||
from app_utils import assert_motor_positions
|
||||
|
||||
folders = storage.Folders()
|
||||
#folders = storage.Folders()
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -67,7 +67,8 @@ ZPOS, FPATH = range(2)
|
||||
RS = 0x1e
|
||||
|
||||
|
||||
class EmblMessage(QObject, metaclass=qsingleton.Singleton):
|
||||
#class EmblMessage(QObject, metaclass=qsingleton.Singleton): #ZAC: orig. code
|
||||
class EmblMessage(QObject):
|
||||
|
||||
def __init__(self, parent=None, **kwargs):
|
||||
super(EmblMessage, self).__init__(parent, **kwargs)
|
||||
@@ -205,7 +206,7 @@ class EmblWidget(QWidget):
|
||||
tabs.setObjectName("embl_tabs")
|
||||
|
||||
view = self._results_view = QTableView(self)
|
||||
view.setModel(CoordinatesModel())
|
||||
#view.setModel(CoordinatesModel()) #ZAC: orig. code
|
||||
view.verticalHeader().show()
|
||||
view.horizontalHeader().show()
|
||||
view.setContextMenuPolicy(Qt.CustomContextMenu)
|
||||
|
||||
Reference in New Issue
Block a user