def create_file(self):
self.logger.warning("Creating file with methods")
wrapper = TextWrapper()
with open(self.filename, 'w') as output_fileh:
output_fileh.write('Method\n')
output_fileh.write(wrapper.fill(self.methods_paragraph(len(self.trait_samples),len(self.nontrait_samples), self.plasmidtron_version(),self.kmc_version(), self.min_kmers_threshold, self.spades_version(), self.min_contig_length, self.running_time() )))
output_fileh.write('\n\nReferences\n')
output_fileh.write(wrapper.fill(self.references_paragraph()))
评论列表
文章目录