open_umls_full
- open_umls_full(name, version=None, *, api_key=None, force=False)[source]
Ensure and open a UMLS file from the given version.
- Parameters:
name (
str) – The name of the file, likeMRSTY.RRFversion (
Optional[str]) – The version of UMLS to ensure. If not given, is looked up withbioversions.api_key (
Optional[str]) – An API key. If not given, is looked up usingpystow.get_config()with theumlsmodule andapi_keykey.force (
bool) – Should the file be re-downloaded, even if it already exists?
- Yields:
The file, which is used in the context manager.