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-25 05:29:32
|
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' Now I just need to remember to update that for each release... A question: I'm tempted to rearrange that output to the somewhat less human readable, but correctly sortable "2009Q4_1". What do you think? -greg |