Skip to content

Commit

Permalink
Use only subfolders of Tracking/Track
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Jun 29, 2015
1 parent fc84136 commit 9b7b017
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Validation/RecoTrack/python/plotting/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,11 @@ def doPlotsAuto(self, plotter, subdirToAlgoQuality, newdirFunc=None, plotterDraw
print "Did not find any of %s directories from file %s" % (",".join(self._plotter.getPossibleDirectoryNames()), tf.GetName())
sys.exit(1)

subdirs = [key.GetName() for key in theDir.GetListOfKeys()]
subdirs = []
for key in theDir.GetListOfKeys():
if isinstance(key.ReadObj(), ROOT.TDirectory):
subdirs.append(key.GetName())

for s in subdirs:
self._doPlots(*subdirToAlgoQuality(s), subdir=s)

Expand Down

0 comments on commit 9b7b017

Please sign in to comment.