|
From: Geoffrey H. <ge...@ge...> - 2007-03-30 21:51:48
|
On Mar 30, 2007, at 4:51 PM, richard apodaca wrote: > Will this reduce the functionality of Ruby Open Babel? Not that I can tell. Basically I just removed a few residue IDs from the enumerated list for SWIG. OBRuby will be otherwise fine. IMHO it's a bad idea to rename them, because these are literally the PDB codes. (Plus to do it in C++ would break backwards-compatibility inside the library.) So I've omitted PDB residue codes for: _1MA _5MC _1MG _2MG _7MG _5MU > I'd actually prefer to use Ruby-style method names. > This can be done easily with the swig -autorename flag > (must be vesion >1.3.27): > > swig -ruby -autorename -c++ > -I/usr/local/include/openbabel-2.0/ openbabel-ruby.i Great, I'll update the Makefiles. See, this is why it's best to have feedback before a release. :-) Cheers, -Geoff |