(self, *args, **kwargs)
| 71 | """ |
| 72 | |
| 73 | def __init__(self, *args, **kwargs): |
| 74 | super().__init__(*args, **kwargs) |
| 75 | # If one of "offset" or "batch" do not exist, generate by the existing one |
| 76 | if "batch" not in self.keys() and "offset" in self.keys(): |
| 77 | self["batch"] = offset2batch(self.offset) |
| 78 | elif "offset" not in self.keys() and "batch" in self.keys(): |
| 79 | self["offset"] = batch2offset(self.batch) |
| 80 | |
| 81 | def serialization(self, order="z", depth=None, shuffle_orders=False): |
| 82 | """ |
nothing calls this directly
no test coverage detected