openPMD / openPMD/openPMD-api

RecordComponent.shape should return a tuple

Open
#808 0 comments 1 reaction 1 assignee Claimed by @ax3l View on GitHub
affects latest release api: breaking bug frontend: Python3
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

**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:
```python
import openpmd_api

# ...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.