close Warning: Can't synchronize with repository "(default)" (/work/source/svn/csep does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 7 years ago

Closed 6 years ago

#246 closed enhancement (fixed)

Allow to specify strings to be excluded from error patterns

Reported by: liukis Owned by: liukis
Priority: major Milestone: CSEP Version 11.1.0
Component: Toolkit Version: 10.10.0
Keywords: Cc:

Description (last modified by liukis)

Current set of error tokens within CSEP software is:

    __error_strings = frozenset(['ERROR',
                                 'Error',
                                 'fail',
                                 'Fail'])

    # Ignore some of the tokens that might contain error triggering strings
    __ignore_strings = frozenset(['LOCATION ERRORS IGNORED']) # Message from Reasenberg declustering algorithm

(please see source:trunk/src/generic/Environment.py containsError() function)

Any output from external process that contains any string from __error_strings will trigger FAIL condition within CSEP testing framework unless that string appears within one of __ignore_strings tokens.

CSEP software should allow to customize the set based

Change History (4)

comment:1 Changed 7 years ago by liukis

  • Description modified (diff)

comment:2 Changed 7 years ago by liukis

  • Description modified (diff)

comment:3 Changed 7 years ago by liukis

  • Owner changed from somebody to liukis
  • Status changed from new to accepted

comment:4 Changed 6 years ago by liukis

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.