def flatten(self): logging.info("Flattening HDF5 tables into text files") start = time() with tables.open_file(self.counts_file_path, mode = "r") as counts_file: write_tab_for_all(counts_file, self.output_directory) duration = time() - start logging.info("Flattening took %f seconds" % duration) self.log_time('flattening', duration)
def flatten(self): logging.info("Flattening HDF5 tables into text files") start = time() with tables.open_file(self.counts_file_path, mode="r") as counts_file: write_tab_for_all(counts_file, self.output_directory) duration = time() - start logging.info("Flattening took %f seconds" % duration) self.log_time('flattening', duration)