Commit 2edab215 authored by Daniel Brown's avatar Daniel Brown
Browse files

Forcing string conversion for exception checking in SIFloat, should get rid of unicode warnings

parent 2af32e96
......@@ -31,7 +31,7 @@ def SIfloat(value):
if value is None:
return value
if value in __exceptions:
if str(value) in __exceptions:
return value
value = np.array(value)
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