Re: [Rdkit-discuss] any want to get the current RDKit version?
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: Greg L. <gre...@gm...> - 2010-01-26 05:33:37
|
On Mon, Jan 25, 2010 at 6:29 AM, Greg Landrum <gre...@gm...> wrote: > Hi Andrew, > > On Mon, Jan 25, 2010 at 4:45 AM, Andrew Dalke <da...@da...> wrote: >> I looked but found nothing in RDKit which gives a version string, like Q32009. > > Yeah, that's an oversight. I'll add the function "version()" to > $RDBASE/rdkit/__init__.py for the release: > [1]>>> import rdkit > > [2]>>> rdkit.version() > Out[2] 'Q42009_1' > FYI: I just changed the way this is done in order to provide info about boost version and have the same information available from C++. I removed the function rdkit.version() and added two constants to the module rdkit.rdBase: [1]>>> from rdkit import rdBase [2]>>> rdBase.rdkitVersion Out[2] '2009Q4_1' [3]>>> rdBase.boostVersion Out[3] '1_41' -greg |