Variable Detail dialog for arrays show wrong shape if a 1dim np.ndarray is displayed

Issue #178 resolved
M. Gronle created an issue

The reason for this is, that the 1d np.ndarray is internally casted to a dataObject, which always maps a 1dim array to a 1xN 2dim dataObject.

Solution: Find a workaround to correctly transport the original number of dimensions and display them including the correct shape.

Comments (3)

  1. Johann Krauter

    fixes issue 178: during the conversion from numpy.ndarray to dataObject the tags "_shape" and "_dtype" are added show show the origin numpy shape, especially for 1-dim vectors. Additionally, the metaWidget is hidden for the numpy.ndarray object because it does not provide meta informations

    → <<cset f86b8b5e137c>>

  2. Log in to comment