diff --git a/Control/GaudiSequencer/python/PyCompsExt.py b/Control/GaudiSequencer/python/PyCompsExt.py index 4985b6f5004a9ece7e9b5c3556f6dd0be47250c5..d0707c47945a6536a496cfb596c513abc5610cd6 100644 --- a/Control/GaudiSequencer/python/PyCompsExt.py +++ b/Control/GaudiSequencer/python/PyCompsExt.py @@ -1,8 +1,11 @@ +__doc__ = 'Library defines a class for filtering events. Allows to provide run/event numbers from a file.' +__author__ = 'Oldrich Kepka <oldrich.kepka@cern.ch' + from GaudiSequencer.PyComps import PyEvtFilter from AthenaPython.PyAthena import StatusCode class PyEvtFilterFromFile (PyEvtFilter): - """ Algorithm which loads list of runnuber/eventnumbers from file for filtering and pass it to PyEvtFilter + """ Algorithm which loads list of runnunber/eventnumbers from file for filtering and pass it to PyEvtFilter """ def __init__(self, name='filterFromFile', **kw): @@ -23,7 +26,7 @@ class PyEvtFilterFromFile (PyEvtFilter): f = open(self.input_file, 'r') except IOError: _error = self.msg.error('File {} cannot be opened.'.format(self.input_file)) - return StatusCode.Falure + return StatusCode.Failure else: _info('==> File {} opened. Loading Runnumber/Eventnumber list'.format(self.input_file)) with f: