You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging.info(f"Wrote {count_synonyms} synonyms for {len(synonym_ids)} UMLS IDs into the leftover UMLS synonyms file.")
reportf.write(f"Wrote {count_synonyms} synonyms for {len(synonym_ids)} UMLS IDs into the leftover UMLS synonyms file.\n")
This means that when the output formats change, we need to modify it in both write_compendia() and leftover UMLS.
We should replace this by having leftover UMLS generate an ID file (in e.g. intermediate/leftover_umls/ids/UMLS), and then use babel_uris.write_compendia() to generate the compendia and synonyms files.
The text was updated successfully, but these errors were encountered:
The leftover UMLS file currently replicates the compendium and synonym generation code in babel_utils.write_compendia():
Babel/src/createcompendia/leftover_umls.py
Lines 165 to 195 in 41d62be
This means that when the output formats change, we need to modify it in both write_compendia() and leftover UMLS.
We should replace this by having leftover UMLS generate an ID file (in e.g.
intermediate/leftover_umls/ids/UMLS
), and then use babel_uris.write_compendia() to generate the compendia and synonyms files.The text was updated successfully, but these errors were encountered: