コード例 #1
0
    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)
コード例 #2
0
    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)