diff --git a/src/SlaveLogParser.jl b/src/SlaveLogParser.jl index 0c6b70b..f2ad3b5 100644 --- a/src/SlaveLogParser.jl +++ b/src/SlaveLogParser.jl @@ -149,7 +149,8 @@ function parse_power_section!(lines::Base.Iterators.Stateful)::PowerResult end line = popfirst!(lines) fpga_temp = let - m = match(r"^FPGA Temprature \[C\] = ([\d|\.]+)$", line) + # can be minus (see 127_172.txt) + m = match(r"^FPGA Temprature \[C\] = (-?[\d|\.]+)$", line) parse(Float64, m[1]) end line = popfirst!(lines)