We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325371d commit fd89898Copy full SHA for fd89898
stagpy/stagyyparsers.py
@@ -932,14 +932,6 @@ def __getitem__(self, isnap: int) -> XmfEntry:
932
except KeyError:
933
raise ParsingError(self.path, f"no data for snapshot {isnap}")
934
935
- def get_snap(self, isnap: int) -> Element:
936
- # Domain, Temporal Collection, Snapshot
937
- # should check that this is indeed the required snapshot
938
- elt_snap = self._root[0][0][isnap]
939
- if elt_snap is None:
940
- raise ParsingError(self.path, f"Snapshot {isnap} not present")
941
- return elt_snap
942
-
943
944
def read_geom_h5(xdmf: FieldXmf, snapshot: int) -> dict[str, Any]:
945
"""Extract geometry information from hdf5 files.
0 commit comments