Skip to content

Commit 05a1a91

Browse files
committed
Bugfix to GenomicsDbImport when genomicsdbSegmentSize is null
1 parent a37d65b commit 05a1a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/util/AbstractGenomicsDBImportHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ private void doConsolidate(JobContext ctx, File workingDestinationWorkspaceFolde
765765
baseArgs.add("--shared-posixfs-optimizations");
766766
}
767767

768-
if (ctx.getParams().get("genomicsdbSegmentSize") != null)
768+
if (StringUtils.trimToNull(ctx.getParams().optString("genomicsdbSegmentSize")) != null)
769769
{
770770
baseArgs.add("--segment-size");
771771
baseArgs.add(String.valueOf(ctx.getParams().get("genomicsdbSegmentSize")));

0 commit comments

Comments
 (0)