13 from __future__
import absolute_import
14 from __future__
import print_function
16 import project_utilities
45 bookdir = self.stage.bookdir
49 if larbatch_posix.exists(bookdir):
62 eventsfile = os.path.join(bookdir,
'events.list')
63 if larbatch_posix.exists(eventsfile):
64 lines = larbatch_posix.readlines(eventsfile)
69 self.
nev = self.
nev + int(words[1])
73 filesana = os.path.join(bookdir,
'filesana.list')
74 if larbatch_posix.exists(filesana):
75 lines = larbatch_posix.readlines(filesana)
81 badfile = os.path.join(bookdir,
'bad.list')
82 if larbatch_posix.exists(badfile):
83 lines = larbatch_posix.readlines(badfile)
90 missingfile = os.path.join(bookdir,
'missing_files.list')
91 if larbatch_posix.exists(missingfile):
92 lines = larbatch_posix.readlines(missingfile)