def subjectname_processed_infile(self,subject): template.process(self.infile_path, subject, self, modelonly=True) return open(os.path.join(self.path, cf.TEMP_INPUT_FILE))
def processed_infile(self,subject): """ Process the input file, with template, and return a file object to the result """ template.process(self.infile_path,subject,self) return open(os.path.join(self.path,cf.TEMP_INPUT_FILE))
def modelname_processed_infile(self, model): template.process(self.infile, model, self, modelonly=True) return open(os.path.join(self.path, TEMP_INPUT_FILE))