Skip to content

Commit

Permalink
Add description for SSSOM generation
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Mar 24, 2024
1 parent 56ecd93 commit 90caefe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pyobo/api/xrefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ def get_sssom_df(
df = get_xrefs_df(prefix=prefix, **kwargs)
rows: List[Tuple[str, ...]] = []
with logging_redirect_tqdm():
for source_id, target_prefix, target_id in tqdm(df.values, unit="mapping", unit_scale=True):
for source_id, target_prefix, target_id in tqdm(
df.values, unit="mapping", unit_scale=True, desc=f"[{prefix}] SSSOM"
):
source = Reference(prefix=prefix, identifier=source_id)
target = Reference(prefix=target_prefix, identifier=target_id)

Expand Down

0 comments on commit 90caefe

Please sign in to comment.