openPMD-api
openPMD-api copied to clipboard
RecordComponent.shape should return a tuple
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
# ...