Skip to content

Commit 6608a70

Browse files
committed
Cannot call getUser() on remote pipelines
1 parent a38c81b commit 6608a70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private File getGenomeCsv(int genomeId) throws PipelineJobException
184184

185185
private File getGenomeCsv(int genomeId, boolean forceWorkDir) throws PipelineJobException
186186
{
187-
ReferenceGenome rg = SequenceAnalysisService.get().getReferenceGenome(genomeId, getPipelineCtx().getJob().getUser());
187+
ReferenceGenome rg = getPipelineCtx().getSequenceSupport().getCachedGenome(genomeId);
188188
if (rg == null)
189189
{
190190
throw new PipelineJobException("Unable to find genome: " + genomeId);
@@ -206,7 +206,7 @@ private File getGenomeFasta(int genomeId) throws PipelineJobException
206206

207207
private File getGenomeFasta(int genomeId, boolean forceWorkDir) throws PipelineJobException
208208
{
209-
ReferenceGenome rg = SequenceAnalysisService.get().getReferenceGenome(genomeId, getPipelineCtx().getJob().getUser());
209+
ReferenceGenome rg = getPipelineCtx().getSequenceSupport().getCachedGenome(genomeId);
210210
if (rg == null)
211211
{
212212
throw new PipelineJobException("Unable to find genome: " + genomeId);

0 commit comments

Comments
 (0)