diff --git a/src/pyobo/reader.py b/src/pyobo/reader.py index bdfe9e30..168f6407 100644 --- a/src/pyobo/reader.py +++ b/src/pyobo/reader.py @@ -97,7 +97,7 @@ def _read_obo(filelike, prefix: str | None, ignore_obsolete: bool) -> nx.MultiDi tqdm( filelike, unit_scale=True, - desc=f'[{prefix or ""}] parsing OBO', + desc=f"[{prefix or ''}] parsing OBO", disable=None, leave=True, ), diff --git a/src/pyobo/sources/icd11.py b/src/pyobo/sources/icd11.py index b520de0b..fe91ca8a 100644 --- a/src/pyobo/sources/icd11.py +++ b/src/pyobo/sources/icd11.py @@ -86,7 +86,7 @@ def iterate_icd11_helper(res_json, version) -> Iterable[Term]: with top_path.open("w") as file: json.dump(res_json, file, indent=2) - tqdm.write(f'There are {len(res_json["child"])} top level entities') + tqdm.write(f"There are {len(res_json['child'])} top level entities") visited_identifiers: set[str] = set() for identifier in get_child_identifiers(ICD11_TOP_LEVEL_URL, res_json):