Skip to content

Commit 0a88fdc

Browse files
committed
More bugfixes to PoolImportPanel
1 parent 77ead51 commit 0a88fdc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
100100
},{
101101
name: 'hto_library_conc',
102102
labels: ['HTO Library Conc', 'HTO Library Conc (ng/uL)', 'HTO (qubit) ng/uL', 'HTO (quibit) ng/uL', 'MultiSeq Library Conc', 'MultiSeq Library (qubit) ng/uL', 'MultiSeq Library Conc (qubit) ng/uL'],
103-
allowRowSpan: true,
104-
transform: 'citeSeqPanel'
103+
allowRowSpan: true
105104
},{
106105
name: 'citeseqpanel',
107106
labels: ['Cite-Seq Panel', 'Cite-Seq Panel Name', 'CiteSeq Panel', 'citeseqpanel'],
108-
allowRowSpan: true
107+
allowRowSpan: true,
108+
transform: 'citeSeqPanel'
109109
},{
110110
name: 'citeseq_library_index',
111111
labels: ['Cite-Seq Library Index', 'Cite-Seq Index', 'CiteSeq Library Index', 'CiteSeq Index', 'Cite-Seq Library Index', 'Cite-Seq Index', 'CiteSeq Library (qubit) ng/uL'],
@@ -215,14 +215,16 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
215215
},
216216

217217
citeSeqPanel: function(val, panel) {
218-
if (val && val.toLowerCase() === 'no') {
218+
if (val && (val.toLowerCase() === 'no' || val.toLowerCase() === 'n')) {
219219
return null;
220220
}
221+
222+
return val;
221223
},
222224

223225
citeSeqTenXBarcode: function(val, panel){
224226
if (!val){
225-
return;
227+
return null;
226228
}
227229

228230
var barcodeSeries = panel.down('#citeseqBarcodeSeries').getValue();

0 commit comments

Comments
 (0)