Skip to content

Commit ff0747c

Browse files
committed
Add check for orphan GenomicsDB folders
1 parent 8e4abb2 commit ff0747c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline/OrphanFilePipelineJob.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,14 @@ private void getOrphanFilesForDirectory(Set<Integer> knownExpDatas, Map<URI, Set
542542

543543
if (f.isDirectory())
544544
{
545+
if (f.getName().endsWith(".gdb"))
546+
{
547+
if (!knownExpDatas.contains(new File(f, "__tiledb_workspace.tdb").toURI()))
548+
{
549+
orphanSequenceFiles.add(f);
550+
}
551+
}
552+
545553
getOrphanFilesForDirectory(knownExpDatas, dataMap, f, orphanSequenceFiles, orphanIndexes);
546554
}
547555
else

0 commit comments

Comments
 (0)