Skip to content

Commit cb6420f

Browse files
committed
Bugfix to custom hashing prefix in LibraryExportPanel
1 parent d6943a1 commit cb6420f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

singlecell/resources/web/singlecell/panel/LibraryExportPanel.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
4949
editable: false,
5050
labelWidth: 160,
5151
storeValues: ['NextSeq (MPSSR)', 'MiSeq (ONPRC)', 'Basic List (MedGenome)', '10x Sample Sheet', 'Novogene', 'Novogene-New']
52-
},{
53-
xtype: 'textfield',
54-
itemId: 'hashingPrefix',
55-
fieldLabel: 'Hashing Library Prefix',
56-
labelWidth: 160,
57-
value: 'H'
5852
},{
5953
xtype: 'ldk-simplecombo',
6054
itemId: 'application',
@@ -135,6 +129,12 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
135129
}
136130
}
137131
},
132+
},{
133+
xtype: 'textfield',
134+
itemId: 'hashingPrefix',
135+
fieldLabel: 'Hashing Library Prefix',
136+
labelWidth: 160,
137+
value: 'H'
138138
},{
139139
xtype: 'ldk-numberfield',
140140
itemId: 'defaultVolume',
@@ -550,7 +550,7 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
550550
const simpleSampleNames = btn.up('singlecell-libraryexportpanel').down('#simpleSampleNames').getValue();
551551
const includeBlanks = btn.up('singlecell-libraryexportpanel').down('#includeBlanks').getValue();
552552
const doReverseComplement = btn.up('singlecell-libraryexportpanel').doReverseComplement;
553-
const hashingPrefix = btn.up('singlecell-libraryexportpanel').down('#hashingPrefix').getValue();
553+
const hashingPrefix = btn.up('singlecell-libraryexportpanel').down('#hashingPrefix') ? btn.up('singlecell-libraryexportpanel').down('#hashingPrefix').getValue() : 'H';
554554

555555
var isMatchingApplication = function(application, libraryType, readsetApplication, rowLevelApplication){
556556
if (!application && !rowLevelApplication){

0 commit comments

Comments
 (0)