diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-09 16:31:24 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-09 16:31:24 +0000 |
commit | 1d39d70cc9528fc462806a621200537b6649bd63 (patch) | |
tree | 766526bd75ff3e20a1a910abd255709721012e1f /textproc/py-martel/files/patch-Generate.py | |
parent | kshd has /etc/nologin hardcoded instead of using _PATH_NOLOGIN (diff) |
Upgrade to 0.5
PR: 24184
Submitted by: MAINTAINER
Diffstat (limited to 'textproc/py-martel/files/patch-Generate.py')
-rw-r--r-- | textproc/py-martel/files/patch-Generate.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/py-martel/files/patch-Generate.py b/textproc/py-martel/files/patch-Generate.py index caafeaaebc6b..045356cec66e 100644 --- a/textproc/py-martel/files/patch-Generate.py +++ b/textproc/py-martel/files/patch-Generate.py @@ -1,3 +1,32 @@ +From: "Andrew Dalke" <dalke@acm.org> +To: <biopython-dev@biopython.org> +Date: Wed, 6 Dec 2000 01:12:29 -0700 + +There's a bug in Martel-0.4 and earlier versions. + +Suppose you have ([<>][ABC])+[<>]? +and want to match it against + + <A<B< + +The "<A" matches the first [<>][ABC]. The "<B" matches +the second [<>][ABC]. The parser tries to match the final +"<" against [<>][ABC] and should fail then try to match +the "<" against [<>]? . + +The bug was that it would match the "<" against the [<>] in +[<>][ABC] and fail at that point. It gives an assertion error +about "l" being greater than "r". + +Here's the patch. The only consequence should be a small hit +in performance. + + Andrew + +[ Note from port maintainer: + This patch was somehow not incorporated into Martel 0.5 ] + + --- Generate.py.orig Wed Nov 22 09:26:48 2000 +++ Generate.py Thu Dec 7 12:27:09 2000 @@ -268,11 +268,11 @@ |