Skip to content

Commit 50ba94e

Browse files
committed
Bugfix to PoolImportPanel
1 parent 2004a0e commit 50ba94e

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
@@ -149,7 +149,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
149149
allowRowSpan: true
150150
},{
151151
name: 'kitType',
152-
labels: ['Kit Type', 'V1.1/V2/HT', 'V1.1/HT', 'HT/V1.1/V2'],
152+
labels: ['Kit Type', 'V1.1/V2/HT', 'V1.1/HT', 'HT/V1.1/V2', 'V2/HT'],
153153
transform: 'kitType'
154154
}],
155155

@@ -819,7 +819,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
819819
if (row[kitCol.dataIdx].toUpperCase() === 'V1.1') {
820820
data.dualIndex10x = false;
821821
}
822-
else if (row[kitCol.dataIdx].toUpperCase() === 'V2' || row[kitCol.dataIdx].toUpperCase() === 'HT') {
822+
else if (row[kitCol.dataIdx].toUpperCase() === 'V2' || row[kitCol.dataIdx].toUpperCase() === 'HT' || row[kitCol.dataIdx].toUpperCase() === 'V3') {
823823
data.dualIndex10x = true;
824824
}
825825
else {
@@ -828,7 +828,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
828828
}
829829

830830
Ext4.Array.forEach(colArray, function(col, colIdx){
831-
var cell = Ext4.isDefined(col.dataIdx) ? Ext4.String.trim(row[col.dataIdx]) : '';
831+
var cell = Ext4.isDefined(col.dataIdx) && row[col.dataIdx] ? Ext4.String.trim(row[col.dataIdx]) : '';
832832
if (cell){
833833
if (col.transform && this.transforms[col.transform]){
834834
cell = this.transforms[col.transform](cell, this, data);

0 commit comments

Comments
 (0)