@@ -581,7 +581,7 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
581581 schemaName : 'singlecell' ,
582582 queryName : 'cdna_libraries' ,
583583 sort : 'plateId,well/addressByColumn' ,
584- columns : 'rowid,plateid,cells' +
584+ columns : 'rowid,plateid,sortId/ cells' +
585585 ',readsetId,readsetId/name,readsetId/application,readsetId/librarytype,readsetId/barcode5,readsetId/barcode5/sequence,readsetId/barcode3,readsetId/barcode3/sequence,readsetId/totalFiles,readsetId/concentration' +
586586 ',tcrReadsetId,tcrReadsetId/name,tcrReadsetId/application,tcrReadsetId/librarytype,tcrReadsetId/barcode5,tcrReadsetId/barcode5/sequence,tcrReadsetId/barcode3,tcrReadsetId/barcode3/sequence,tcrReadsetId/totalFiles,tcrReadsetId/concentration' +
587587 ',hashingReadsetId,hashingReadsetId/name,hashingReadsetId/application,hashingReadsetId/librarytype,hashingReadsetId/barcode5,hashingReadsetId/barcode5/sequence,hashingReadsetId/barcode3,hashingReadsetId/barcode3/sequence,hashingReadsetId/totalFiles,hashingReadsetId/concentration' +
@@ -600,9 +600,9 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
600600 var sortedRows = results . rows ;
601601 var totalCellsByReadset = { } ;
602602 Ext4 . Array . forEach ( results . rows , function ( row ) {
603- if ( row . plateId && row . cells ) {
603+ if ( row . plateId && row [ 'sortId/ cells' ] ) {
604604 totalCellsByReadset [ row . plateId ] = totalCellsByReadset [ row . plateId ] || 0 ;
605- totalCellsByReadset [ row . plateId ] = totalCellsByReadset [ row . plateId ] + row . cells ;
605+ totalCellsByReadset [ row . plateId ] = totalCellsByReadset [ row . plateId ] + row [ 'sortId/ cells' ] ;
606606 }
607607 } , this ) ;
608608
0 commit comments