Check that the node is open. If the node is closed, a `ClosedNodeError` is raised.
(self)
| 337 | raise NotImplementedError |
| 338 | |
| 339 | def _g_check_open(self) -> None: |
| 340 | """Check that the node is open. |
| 341 | |
| 342 | If the node is closed, a `ClosedNodeError` is raised. |
| 343 | |
| 344 | """ |
| 345 | if not self._v_isopen: |
| 346 | raise ClosedNodeError("the node object is closed") |
| 347 | assert self._v_file.isopen, "found an open node in a closed file" |
| 348 | |
| 349 | def _g_set_location(self, parentnode: Group, name: str) -> None: |
| 350 | """Set location-dependent attributes. |
no test coverage detected