Skip to content
Browse files

Cope when eprimer3 reports oligo without sequence

  • Loading branch information...
1 parent fa9d565 commit 76d13cdb2a1616c732bae83097a6b35ef18739da @widdowquinn widdowquinn committed with peterjc Jan 31, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 Bio/Emboss/Primer3.py
View
5 Bio/Emboss/Primer3.py
@@ -141,7 +141,10 @@ def parse(handle):
primer.internal_length = int(words[3])
primer.internal_tm = float(words[4])
primer.internal_gc = float(words[5])
- primer.internal_seq = words[6]
+ try:
+ primer.internal_seq = words[6]
+ except IndexError: # eprimer3 reports oligo without sequence
+ primer.internal_seq = ''
try:
line = handle.next()
except StopIteration:

0 comments on commit 76d13cd

Please sign in to comment.
Something went wrong with that request. Please try again.