openPMD-api icon indicating copy to clipboard operation
openPMD-api copied to clipboard

RecordComponent.shape should return a tuple

Open ChristopherMayes opened this issue 5 years ago • 0 comments

Describe the bug From the examples/2_read_serial.py, E_x.shape is returned as a list. The equivalent np.array API returns a tuple here.

To Reproduce Run the examples/2_read_serial.py example

Python:

import openpmd_api

# ...

ChristopherMayes avatar Oct 29 '20 22:10 ChristopherMayes