bug °79

9 views
Skip to first unread message

Benoit NABHOLZ

unread,
Mar 12, 2014, 5:46:18 AM3/12/14
to biopp-de...@googlegroups.com

Hello,

I reported a bug (pease see http://biopp.univ-montp2.fr/bug/view.php?id=79). This impact many function in CodonSiteTools.cpp.

I found out that the bug could be easily corrected by substituting all the typeId by .getSourceAlphabet()->getAlphabetType()

For example:
if (typeid(site.getAlphabet()) != typeid(gCode.getSourceAlphabet()))

by
 if (site.getAlphabet()->getAlphabetType() != gCode.getSourceAlphabet()->getAlphabetType())


I modify CodonSiteTools.cpp accordingly and it seems to work. I attached the source here.

Benoit


--

Benoit Nabholz

Institut des Sciences de l'Evolution. CC64
Université Montpellier II
Place Eugène Bataillon
34095 Montpellier cedex 5
France
Tel : 0033 (0)4 67 14 36 97


CodonSiteTools.cpp
Reply all
Reply to author
Forward
0 new messages