I've opened an issue about the OBResidue::GetNum() method, which has problems with negative sequence numbers:

 https://github.com/openbabel/openbabel/issues/1786

Negative sequence values are legal in proteins, and common for expression tags and other variations from the wild type sequence.

I would imagine there was a reason for preferring unsigned int, so I'm bringing it here to make sure it wouldn't break other pieces of the code.

Thanks,

S


--

 Stefano Forli, PhD

 Assistant Professor
 Dept. of Integrative Structural
 and Computational Biology, MB-112A
 The Scripps Research Institute
 10550  North Torrey Pines Road
 La Jolla,  CA 92037-1000,  USA.

    tel: +1 (858)784-2055
    fax: +1 (858)784-2860
    email: fo...@scripps.edu
    http://www.scripps.edu/~forli/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to