(self)
| 89 | self.close_db() |
| 90 | |
| 91 | def create_array(self): |
| 92 | # The filters chosen |
| 93 | filters = tb.Filters(complevel=self.docompress, complib=self.complib) |
| 94 | atom = tb.Atom.from_kind(self.dtype) |
| 95 | self.con.create_earray( |
| 96 | self.con.root, |
| 97 | "earray", |
| 98 | atom, |
| 99 | (0,), |
| 100 | filters=filters, |
| 101 | expectedrows=self.nrows, |
| 102 | chunkshape=(self.chunksize,), |
| 103 | ) |
| 104 | |
| 105 | def fill_array(self): |
| 106 | "Fills the array" |