download_monomer_library
- download_monomer_library(version=None, *, prefix=None, return_version=False)[source]
Ensure the latest ChEMBL monomer library is downloaded.
- Parameters:
version (
Optional
[str
]) – The version number of ChEMBL to get. If none specified, useslatest()
to look up the latest.prefix (
Optional
[Sequence
[str
]]) – The directory insidepystow
to usereturn_version (
bool
) – Should the version get returned? Turn this to true if you’re looking up the latest version and want to reduce redundant code.
- Return type:
- Returns:
If
return_version
is true, return a pair of the version and the local file path to the downloaded*_monomer_library.xml
file. Otherwise, just return the path.