@@ -601,12 +601,11 class ParamWriter(Operation): | |||||
601 | #--------------------- Conditionals ------------------------ |
|
601 | #--------------------- Conditionals ------------------------ | |
602 | #There is no data |
|
602 | #There is no data | |
603 |
|
603 | |||
604 |
|
||||
605 | if dataAux is None: |
|
604 | if dataAux is None: | |
606 |
|
605 | |||
607 | return 0 |
|
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 | dsDict['mode'] = 0 |
|
609 | dsDict['mode'] = 0 | |
611 | dsDict['nDim'] = 0 |
|
610 | dsDict['nDim'] = 0 | |
612 | arrayDim[i,0] = 0 |
|
611 | arrayDim[i,0] = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now