Skip to content

Commit 5015497

Browse files
committed
Add debug logging
1 parent 83a1ac1 commit 5015497

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisMaintenanceTask.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ private void processContainer(Container c, Logger log) throws IOException, Pipel
300300
if (root != null && !root.isCloudRoot())
301301
{
302302
//first sequences
303+
log.debug("Inspecting sequences");
303304
File sequenceDir = new File(root.getRootPath(), ".sequences");
304305
TableInfo tableRefNtSequences = SequenceAnalysisSchema.getTable(SequenceAnalysisSchema.TABLE_REF_NT_SEQUENCES);
305306
TableSelector ntTs = new TableSelector(tableRefNtSequences, new SimpleFilter(FieldKey.fromString("container"), c.getId()), null);
@@ -342,6 +343,7 @@ private void processContainer(Container c, Logger log) throws IOException, Pipel
342343
}
343344

344345
//then libraries
346+
log.debug("Inspecting genomes");
345347
File libraryDir = SequenceAnalysisManager.get().getReferenceLibraryDir(c);
346348
if (libraryDir != null && libraryDir.exists())
347349
{
@@ -516,6 +518,7 @@ private void processContainer(Container c, Logger log) throws IOException, Pipel
516518
}
517519

518520
//finally outputfiles
521+
log.debug("Inspecting outputs");
519522
TableInfo ti = SequenceAnalysisSchema.getTable(SequenceAnalysisSchema.TABLE_OUTPUTFILES);
520523
TableSelector ts = new TableSelector(ti, Collections.singleton("dataid"), new SimpleFilter(FieldKey.fromString("container"), c.getId()), null);
521524
Set<String> expectedFileNames = new HashSet<>();
@@ -563,6 +566,8 @@ private void processContainer(Container c, Logger log) throws IOException, Pipel
563566
}
564567
}
565568
}
569+
570+
log.debug("done");
566571
}
567572

568573
for (Container child : c.getChildren())

0 commit comments

Comments
 (0)