def __init__(self, parser, output_path=""): Writer.__init__(self) self.parser = parser self.out_file = open( os.path.join(output_path, self.parser.parsedModel.name + ".cu"), "w") self.rename()
def __init__(self, parser, output_path="", use_molecule_counts=False): Writer.__init__(self) self.parser = parser self.use_molecule_counts = use_molecule_counts self.out_file = open(os.path.join(output_path, self.parser.parsedModel.name + ".cu"), "w") self.rename()