[Biopython-dev] [Bug 2833] Features insertion on previous bioentry_id

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu May 21 10:39:18 UTC 2009


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





------- Comment #7 from biopython-bugzilla at maubp.freeserve.co.uk  2009-05-21 06:39 EST -------
(In reply to comment #6)
> Hi Peter,
> i did 4 tests: [python2.4,python2.5]*[psycopg,psycopg2]
> with 
>  - biopython from "this morning" cvs.
>  - psycopg.__version__  '1.1.21'
>  - psycopg2.__version__ '2.0.7 (dec mx dt ext pq3)'
> 
> in any case i've the same results:
> 
> Make sure all records are correctly loaded. ... ok
> Make sure can't import records twice. ... FAIL
> ...
> ======================================================================
> FAIL: Make sure can't import records twice.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "test_BioSQL.py", line 374, in test_reload
>     self.assert_("duplicate" in str(err).lower())
> AssertionError

OK - the unit test is doing what I expected, and the duplicate insertion
is failing. Its just the error message is different to what I expected,
which should be trivial to fix. This means inserting the same GenBank record
twice fails (which is good).

However, the unit test doesn't reproduce your original issue. Hopefully your
pickled SeqRecord objects will help there...

Thanks,

Peter


-- 
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