Skip to content

Commit

Permalink
Fixed bug 3135
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekw committed Sep 3, 2010
1 parent bf403fc commit 102ad30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Bio/Motif/Parsers/MEME.py
Expand Up @@ -92,6 +92,8 @@ def add_instance_from_values (self, name = 'default', pvalue = 1, sequence = 'AT
inst._strand(strand)
if self.length:
inst._length(self.length)
else:
inst._length(len(sequence))
if self.name:
inst._motifname(self.name)
self.add_instance(inst)
Expand Down

0 comments on commit 102ad30

Please sign in to comment.