diff --git a/src/pyobo/api/xrefs.py b/src/pyobo/api/xrefs.py index 967c6d22..e2cb2bec 100644 --- a/src/pyobo/api/xrefs.py +++ b/src/pyobo/api/xrefs.py @@ -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)