@@ -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