SystemError when converting an empty np.ndarray to an itom.dataObject

Issue #114 resolved
M. Gronle created an issue

The following code fails with a SystemError:

import numpy as np
from itom import dataObject

nparray = np.array([], dtype='uint16')
dobj = dataObject(nparray) #-> error

The expected behaviour is, that an empty dataObject with the same type than the nparray is created.

Comments (1)

  1. Log in to comment