Skip to content

Commit 70e60ff

Browse files
committed
Bugfix to 10x chemistry import
1 parent 96d37d1 commit 70e60ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singlecell/resources/web/singlecell/panel/PoolImportPanel.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
715715
var ret = [];
716716

717717
var doSplitCellsByPool = false;
718-
var kitCol = colArray.filter(function(x){ return x.dataIdx === 'kitType'});
718+
var kitCol = colArray.filter(function(x){ return x.name === 'kitType'});
719719
kitCol = kitCol.length ? kitCol[0] : null;
720720

721721
Ext4.Array.forEach(rows, function(row, rowIdx){
@@ -725,10 +725,10 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
725725

726726
if (kitCol && row[kitCol.dataIdx]) {
727727
if (row[kitCol.dataIdx].toUpperCase() === 'V1.1') {
728-
row.dualIndex10x = false;
728+
data.dualIndex10x = false;
729729
}
730730
else if (row[kitCol.dataIdx].toUpperCase() === 'V2' || row[kitCol.dataIdx].toUpperCase() === 'HT') {
731-
row.dualIndex10x = true;
731+
data.dualIndex10x = true;
732732
}
733733
else {
734734
console.error('Unknown kit type: ' + row[kitCol.dataIdx]);

0 commit comments

Comments
 (0)