Skip to content

Commit a58a432

Browse files
committed
incorrect cast of vg_ser
- somehow vg_ser's nan are casted to float from str - it happend to dhiraj - could be that he had old modules
1 parent d27be3c commit a58a432

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

misc.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -373,15 +373,17 @@ def num2date(num_axis, units, calendar):
373373
return res
374374

375375

376-
def check_full_nuggetness(model):
376+
def check_full_nuggetness(in_model):
377+
378+
in_model = str(in_model)
377379

378380
nuggetness = False
379381

380-
if model == 'nan':
382+
if in_model == 'nan':
381383
pass
382384

383385
else:
384-
models = model.split('+')
386+
models = in_model.split('+')
385387

386388
Sill = 0.0
387389
Range = 0.0

0 commit comments

Comments
 (0)