Floats of the type 1e-3 are not accepted by the parser because the FLOAT regex in the file parsing.py does not match. It only matches if there is a dot (like in 1.0e-3). 1e-3 is a correct python float, though, and floats like this are also generated by templating systems like jinja2.
Therefore the FLOAT regex should be adjusted. I would be happy to do this and will send a pull request if that’s okay.
Floats of the type
1e-3
are not accepted by the parser because the FLOAT regex in the fileparsing.py
does not match. It only matches if there is a dot (like in1.0e-3
).1e-3
is a correct python float, though, and floats like this are also generated by templating systems like jinja2.Therefore the FLOAT regex should be adjusted. I would be happy to do this and will send a pull request if that’s okay.