[Biopython-dev] derive from Seq
Matthias Bernt
MatatTHC at gmx.de
Tue Feb 16 04:48:25 EST 2010
Hi,
I've implemented a class derived from Seq. Many of the Seq functions return Seq. Thus, I can not use those functions because I need instances of the derived class.
This can easily be fixed by returning:
self.__class__( .. )
Regards,
Matthias
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
More information about the Biopython-dev
mailing list