Skip to content

Commit 4548569

Browse files
committed
Separate GEX/HTO single vs dual index options
1 parent 1a1c048 commit 4548569

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
181181
}
182182
return 'D' + val;
183183
}
184-
else if (type === 'MultiSeq' && !panel.down('#useDualIndex').getValue()) {
184+
else if (type === 'MultiSeq' && !panel.down('#useDualMsIndex').getValue()) {
185185
val = parseInt(val);
186186

187187
return 'MultiSeq-Idx-RP' + val;
@@ -201,7 +201,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
201201
val = val.replace(/^MS[- ]Idx/ig, 'MultiSeq-Idx');
202202
val = val.replace(/^MultiSeq[- ]Idx[- ]RP/ig, 'MultiSeq-Idx-RP');
203203

204-
if (val.length <= 3 && panel.down('#useDualIndex').getValue()) {
204+
if (val.length <= 3 && panel.down('#useDualMsIndex').getValue()) {
205205
val = 'MS-TN-' + val;
206206
}
207207
else {
@@ -526,6 +526,11 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
526526
fieldLabel: 'Use 10x V2/HT (Dual Index)',
527527
itemId: 'useDualIndex',
528528
checked: true
529+
},{
530+
xtype: 'checkbox',
531+
fieldLabel: 'Use MS (Dual Index)',
532+
itemId: 'useDualMsIndex',
533+
checked: true
529534
},{
530535
xtype: 'ldk-simplelabkeycombo',
531536
fieldLabel: 'Hashing Type',

singlecell/resources/web/singlecell/panel/cDNAImportPanel.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,11 @@ Ext4.define('SingleCell.panel.cDNAImportPanel', {
137137
fieldLabel: 'Use 10x V2/HT (Dual Index)',
138138
itemId: 'useDualIndex',
139139
checked: true,
140-
// listeners: {
141-
// change: function(field, val){
142-
// field.up('panel').down('#barcodeSeries').setValue(field.getValue() ? 'SI-TT' : 'SI-GA');
143-
// field.up('panel').down('#citeseqBarcodeSeries').setValue(field.getValue() ? 'SI-TN' : 'SI-NA');
144-
// }
145-
// }
140+
},{
141+
xtype: 'checkbox',
142+
fieldLabel: 'Use MS (Dual Index)',
143+
itemId: 'useDualMsIndex',
144+
checked: true
146145
},{
147146
xtype: 'ldk-simplelabkeycombo',
148147
fieldLabel: 'Hashing Type',

0 commit comments

Comments
 (0)