eftsung / pygr

Automatically exported from code.google.com/p/pygr
0 stars 0 forks source link

patch to test seq dicts passed into AnnotationDB. #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is a proposed solution to the problem where users pass in the wrong
sequence dictionary to AnnotationDB and get an error only when they ask for
an annotation object.  Because objects are created on -demand, the error
they get shows up after the construction of the AnnotationDB; the idea in
this patch is to test the first value in the AnnotationDB and raise an
error if it fails.

(This is a common user error in my experience, and pygr's error reporting
is confusing.)

Original issue reported on code.google.com by the.good...@gmail.com on 1 Sep 2008 at 6:48

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 11 Sep 2008 at 3:36

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 11 Sep 2008 at 3:37

GoogleCodeExporter commented 8 years ago

Original comment by mare...@gmail.com on 21 Feb 2009 at 2:04

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 4 Mar 2009 at 11:27

GoogleCodeExporter commented 8 years ago

Original comment by mare...@gmail.com on 13 Mar 2009 at 12:56

GoogleCodeExporter commented 8 years ago
added via Titus' commits fe227, revised by my commits c9ff44, 03023.

Original comment by cjlee...@gmail.com on 8 Apr 2009 at 1:41