Commit e7f6b516 authored by Doak, Peter W's avatar Doak, Peter W
Browse files

Merge branch 'master' of

parents 2a91908e 63369ec8
......@@ -117,6 +117,10 @@ def read_output_influx(log):
for aindex, label in then_do:
the_value = (line.split())[aindex-1]
the_value = re.sub(r':',r'',the_value)
#case where vasp runs force into its error value
fmatch ='([-\dEe\.]+)\[.*', the_value)
if fmatch:
the_value =
print "{} {}".format(label, the_value)
influx_point = ("{},user_name={},code={},"
"job_name={},host={} value={} {}\n"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment