hbatch parser
Posted: Tue Feb 09, 2021 10:58 pm
Heya,
We use ALFRED style progress in hbatch when logging output... below is a sample:
I adjusted the hbatch.py parser's regex to:
p = re.compile(".*(?:ALF_PROGRESS (\d+))", re.S)
but it does not appear to be reporting correctly. Is there anything else I should be modifying?
G
We use ALFRED style progress in hbatch when logging output... below is a sample:
Code: Select all
ALF_PROGRESS 1%
17:49:29 geometry1 frame 1001 (1 of 120)
ALF_PROGRESS 2%
17:49:30 geometry1 frame 1002 (2 of 120)
ALF_PROGRESS 3%
17:49:33 geometry1 frame 1003 (3 of 120)
ALF_PROGRESS 3%
17:49:36 geometry1 frame 1004 (4 of 120)
ALF_PROGRESS 4%
17:49:39 geometry1 frame 1005 (5 of 120)
ALF_PROGRESS 5%
p = re.compile(".*(?:ALF_PROGRESS (\d+))", re.S)
but it does not appear to be reporting correctly. Is there anything else I should be modifying?
G