diff --git a/frappy_psi/haake.py b/frappy_psi/haake.py index 5369154..7ddd336 100644 --- a/frappy_psi/haake.py +++ b/frappy_psi/haake.py @@ -22,6 +22,7 @@ from frappy.core import StringIO, HasIO, Parameter, FloatRange, BoolType, \ from frappy_psi.convergence import HasConvergence from frappy.errors import CommunicationFailedError + def convert(string): number = re.sub(r'[^0-9.-]', '', string) return float(number)