Пример #1
0
def report_ScfConvergenceWarning():
    er = EventReport('.',
                     events=[
                         ScfConvergenceWarning(message='Fake warning',
                                               src_file=__file__,
                                               src_line=0)
                     ])
    er.set_run_completed(True, '', ' ')
    return er
Пример #2
0
def report_AbinitError():
    return EventReport('.',
                       events=[
                           AbinitError(message='Fake warning',
                                       src_file=__file__,
                                       src_line=0)
                       ])
Пример #3
0
def report_RelaxConvergenceWarning():
    return EventReport('.',
                       events=[
                           RelaxConvergenceWarning(message='Fake warning',
                                                   src_file=__file__,
                                                   src_line=0)
                       ])
Пример #4
0
def report_ok():
    return EventReport('.')
Пример #5
0
def report_ScfConvergenceWarning():
    er = EventReport('.', events=[ScfConvergenceWarning(message='Fake warning', src_file=__file__, src_line=0)])
    er.set_run_completed(True,'', ' ')
    return er