On Fri, Jan 23, 2015 at 12:37 AM, jarod...@libero.it <jarod...@libero.it> wrote: > Thanks for the help and patience! > It is a function on the class so I suppose for read that function list I > need self.steps Where I'm wrong? > @property > def steps(self): > return [ > > self.trimmomatic, > self.merge_trimmomatic_stats, > self.star, > self.picard_sort_sam, > self.rnaseqc, > self.wiggle, > self.cufflinks, > self.gq_seq_utils_exploratory_analysis_rnaseq > > ] >
Do each of these elements in this list support the operations you're performing on any single step? That is, the code that you have here: def show(self): ftp="\n".join([str(idx + 1) + "- " + step.__name__ for idx, step in enumerate(self.steps)]) seems to assume that every step must have a '__name__' property. But do all of the steps that you've put in there support '__name__'? _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor