Skip to content

Commit c93e529

Browse files
committed
read_geom_h5: cannot call with snapshot None
1 parent 45348ca commit c93e529

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stagpy/stagyyparsers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,6 @@ def read_geom_h5(xdmf: FieldXmf, snapshot: int) -> dict[str, Any]:
875875
"""
876876
header: Dict[str, Any] = {}
877877
xdmf_root = xdmf.root
878-
if snapshot is None:
879-
return {}
880878

881879
# Domain, Temporal Collection, Snapshot
882880
# should check that this is indeed the required snapshot

0 commit comments

Comments
 (0)