##// END OF EJS Templates
Bug in ParamWriter not saving numpy types (int, float)
Juan C. Espinoza -
r1195:9f1881ac55a3
parent child
Show More
@@ -601,12 +601,11 class ParamWriter(Operation):
601 601 #--------------------- Conditionals ------------------------
602 602 #There is no data
603 603
604
605 604 if dataAux is None:
606 605
607 606 return 0
608 607
609 if type(dataAux)==float or type(dataAux)==int:
608 if isinstance(dataAux, (int, float, numpy.integer, numpy.float)):
610 609 dsDict['mode'] = 0
611 610 dsDict['nDim'] = 0
612 611 arrayDim[i,0] = 0
General Comments 0
You need to be logged in to leave comments. Login now