Create a new array in file (specific part).
(self)
| 224 | ) |
| 225 | |
| 226 | def _g_create(self) -> int: |
| 227 | """Create a new array in file (specific part).""" |
| 228 | if min(self.shape) < 1: |
| 229 | raise ValueError("shape parameter cannot have zero-dimensions.") |
| 230 | # Finish the common part of creation process |
| 231 | return self._g_create_common(self.nrows) |
| 232 | |
| 233 | def _g_create_common(self, expectedrows: int) -> int: |
| 234 | """Create a new array in file (common part).""" |
nothing calls this directly
no test coverage detected