[Biopython-dev] [Bug 2418] SyntaxError should be ValueError

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Dec 10 12:13:16 UTC 2007


http://bugzilla.open-bio.org/show_bug.cgi?id=2418





------- Comment #2 from mdehoon at ims.u-tokyo.ac.jp  2007-12-10 07:13 EST -------
> Should we introduce a Biopython "FormatSyntaxError" exception (as a subclass of
> ValueError defined in Bio/__init__.py), or just switch these to ValueError
> exceptions instead?

I would stick to ValueError. The error message should be clear enough for the
user to understand what the problem is.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list