def setUp(self): self.fold = RNAalifold() self.sequences = [ "ggggggggggggaaaaaaaacccccccccccc", "ggggggggggggaaaaaaaacccccccccccc" ] self.results = self.fold(self.sequences)
def setUp(self): self.fold = RNAalifold() self.sequences = [ "ggggggggggggaaaaaaaacccccccccccc", "ggggggggggggaaaaaaaacccccccccccc" ] io = StringIO() self.fold.input_file(io, self.sequences) self.contents = io.getvalue().split("\n") io.close()