File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,13 @@ private void importReadsets() throws PipelineJobException
174174 getJob ().getLogger ().info ("Starting readset " + r .getName ());
175175
176176 boolean readsetExists = r .getReadsetId () != null && r .getReadsetId () > 0 ;
177- List <ReadDataImpl > preexistingReadData = readsetExists ? ((SequenceReadsetImpl )SequenceAnalysisService .get ().getReadset (r .getReadsetId (), getJob ().getUser ())).getReadDataImpl () : Collections .emptyList ();
177+ SequenceReadsetImpl existingReadset = ((SequenceReadsetImpl )SequenceAnalysisService .get ().getReadset (r .getReadsetId (), getJob ().getUser ()));
178+ List <ReadDataImpl > preexistingReadData = readsetExists ? existingReadset .getReadDataImpl () : Collections .emptyList ();
178179 boolean readsetExistsWithData = !preexistingReadData .isEmpty ();
179180 if (readsetExistsWithData )
180181 {
181- getJob ().getLogger ().info ("Readset has existing data: " + r .getName () + " from: " + r .getContainer ());
182- readsetsToDeactivate .put (r .getReadsetId (), r .getContainer ());
182+ getJob ().getLogger ().info ("Readset has existing data: " + r .getName () + ", " + r . getRowId () + " from: " + existingReadset .getContainer ());
183+ readsetsToDeactivate .put (r .getReadsetId (), existingReadset .getContainer ());
183184 }
184185
185186 SequenceReadsetImpl row ;
You can’t perform that action at this time.
0 commit comments