nrc-cnrc/MetroloPy

Bugs in unitparser.py

Jerreu opened this issue · 0 comments

Jerreu commented

There are at least two bugs in unitparser.py:

  • Giving a unit as e.g. "V**(0.5)" will attempt to typecast "(0.5)" as float, when it should be typecasting "0.5" (line 212, 201, etc.). It seems to currently impossible to set fractional exponents.
  • isspace() is misspelled on several occasions (as ispace()).