Skip to content

Commit 4ab92ec

Browse files
committed
Bugfixes to nimble and num_mismatch
1 parent e0e237c commit 4ab92ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

singlecell/resources/web/singlecell/panel/NimbleAlignPanel.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ Ext4.define('SingleCell.panel.NimbleAlignPanel', {
1010
initComponent: function(){
1111
Ext4.apply(this, {
1212
style: 'padding: 10px;margins: 5px;',
13-
minWidth: 750,
13+
minWidth: 900,
1414
border: true,
1515
items: [{
1616
html: 'This step will first run cellranger using the primary genome (selected above). The resulting BAM will be passed to nimble, which will align using each of the genomes selected below, creating supplemental feature counts. By default, the original cellranger output is discarded.',
17-
maxWidth: 700,
17+
maxWidth: 850,
1818
border: false,
1919
style: 'padding-bottom: 10px;'
2020
},{
2121
xtype: 'ldk-gridpanel',
2222
clicksToEdit: 1,
23-
width: 700,
23+
width: 850,
2424
tbar: [{
2525
text: 'Add',
2626
handler: function(btn){

singlecell/src/org/labkey/singlecell/run/NimbleHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,10 +589,10 @@ public NimbleGenome(JSONArray arr, int maxHitsToReport) throws PipelineJobExcept
589589
template = arr.getString(1);
590590
doGroup = arr.getBoolean(2);
591591

592-
String rawScore = arr.length() > 3 ? StringUtils.trimToNull(arr.getString(3)) : null;
592+
String rawScore = arr.length() > 3 ? StringUtils.trimToNull(String.valueOf(arr.get(3))) : null;
593593
scorePercent = rawScore == null ? -1.0 : Double.parseDouble(rawScore);
594594

595-
String rawMismatches = arr.length() > 4 ? StringUtils.trimToNull(arr.getString(4)) : null;
595+
String rawMismatches = arr.length() > 4 ? StringUtils.trimToNull(String.valueOf(arr.get(4))) : null;
596596
numMismatches = rawMismatches == null ? -1 : Integer.parseInt(rawMismatches);
597597

598598
this.maxHitsToReport = maxHitsToReport;

0 commit comments

Comments
 (0)