Skip to content

Commit 459fce4

Browse files
committed
Bugfixes to SingleCellPanel
1 parent 9a58495 commit 459fce4

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

singlecell/resources/web/singlecell/panel/SingleCellProcessingPanel.js

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ Ext4.define('SingleCell.panel.SingleCellProcessingPanel', {
220220
title: 'Prepare Raw Data',
221221
stepType: 'singleCell',
222222
singleTool: true,
223-
comboValue: 'prepareRawData',
223+
comboValue: 'PrepareRawCounts',
224224
sectionDescription: 'This section allows you to control the parsing of the raw 10x count data',
225225
toolConfig: {
226-
prepareRawData: [{
226+
singleCell: [{
227227
description: 'Options related to processing the 10x matrix into a seurat object',
228228
label: 'Prepare Raw Counts',
229229
name: 'PrepareRawCounts',
@@ -233,22 +233,28 @@ Ext4.define('SingleCell.panel.SingleCellProcessingPanel', {
233233
label: 'EmptyDrops Lower',
234234
description: 'Passed to DropletUtils::emptyDrops lower argument',
235235
defaultValue: 200,
236-
minValue: 0
236+
additionalExtConfig: {
237+
minValue: 0
238+
}
237239
}, {
238240
fieldXtype: 'ldk-numberfield',
239241
name: 'emptyDropsFdrThreshold',
240242
label: 'EmptyDrops FDR Threshold',
241243
description: 'The FDR limit used to filter the results of DropletUtils::emptyDrops',
242244
defaultValue: 0.001,
243-
minValue: 0,
244-
decimalPrecision: 4
245+
additionalExtConfig: {
246+
minValue: 0,
247+
decimalPrecision: 4
248+
}
245249
}, {
246250
fieldXtype: 'ldk-integerfield',
247251
name: 'maxAllowableCells',
248252
label: 'Max Cells Allowed',
249253
description: 'If more than this many cells are predicted by EmptyDrops, the job will fail',
250254
defaultValue: 20000,
251-
minValue: 0
255+
additionalExtConfig: {
256+
minValue: 0
257+
}
252258
}, {
253259
fieldXtype: 'checkbox',
254260
name: 'useEmptyDropsCellRanger',
@@ -261,7 +267,7 @@ Ext4.define('SingleCell.panel.SingleCellProcessingPanel', {
261267
name: 'nExpectedCells',
262268
label: '# Expected Cells',
263269
description: 'Only applied if emptyDropsCellRanger is selected. Passed to n.expected.cells argument',
264-
value: 8000
270+
defaultValue: 8000
265271
}]
266272
}]
267273
}

0 commit comments

Comments
 (0)