Skip to content

Commit

Permalink
Update xrefs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 23, 2024
1 parent 32dfc47 commit 74b8e62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pyobo/api/xrefs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""High-level API for synonyms."""

import logging
import warnings
from collections.abc import Mapping
from functools import lru_cache

Expand Down Expand Up @@ -83,6 +84,8 @@ def get_xrefs_df(
prefix: str, *, use_tqdm: bool = False, **kwargs: Unpack[GetOntologyKwargs]
) -> pd.DataFrame:
"""Get all xrefs."""
warnings.warn("use pyobo.get_sssom_df instead of pyobo.get_xrefs_df", DeprecationWarning, stacklevel=2)

version = get_version_from_kwargs(prefix, kwargs)
path = prefix_cache_join(prefix, name="xrefs.tsv", version=version)

Expand Down

0 comments on commit 74b8e62

Please sign in to comment.