@@ -16,7 +16,7 @@ class ScanRecordTable(QGroupBox):
1616 details of the scan to appear in other GUI components (list of barcodes in the barcode
1717 table and image of the puck in the image frame).
1818 """
19- COLUMNS = ['Date' , 'Time' , 'Plate Barcode' , 'Plate Type ' , 'Valid ' , 'Invalid ' , 'Empty ' ]
19+ COLUMNS = ['Date' , 'Time' , 'Plate Barcode' , 'Valid ' , 'Invalid ' , 'Empty ' , 'Plate Type ' ]
2020
2121 def __init__ (self , barcode_table , image_frame , options ):
2222 super (ScanRecordTable , self ).__init__ ()
@@ -29,7 +29,7 @@ def __init__(self, barcode_table, image_frame, options):
2929 self ._imageFrame = image_frame
3030
3131 self .setTitle ("Scan Records" )
32- self .setMaximumWidth (1200 )
32+ self .setMaximumWidth (1140 )
3333
3434 self ._init_ui ()
3535
@@ -81,8 +81,8 @@ def _load_store_records(self):
8181 self ._table .setRowCount (self ._store .size ())
8282
8383 for n , record in enumerate (self ._store .records ):
84- items = [record .date , record .time , record .holder_barcode , record .plate_type , record . num_valid_barcodes ,
85- record .num_unread_slots , record .num_empty_slots ]
84+ items = [record .date , record .time , record .holder_barcode , record .num_valid_barcodes ,
85+ record .num_unread_slots , record .num_empty_slots , record . plate_type ]
8686 valid_empty = record .num_valid_barcodes + record .num_empty_slots
8787 if valid_empty == record .num_slots :
8888 color = self ._options .col_ok ()
0 commit comments