ReinV / SCOPE

Search and Chemical Ontology Plotting Environment
Other
1 stars 2 forks source link

Fails with no IDF available for retrieved ChEBIs #65

Open magnuspalmblad opened 9 months ago

magnuspalmblad commented 9 months ago

If the IDF file is out-of-date, and ChEBIs are retrieved for which the IDF is unknown, the casting of the TFIDFs to ints in make_table.py fails. This could be handled by make_table.py - either replacing the terms with an average IDF or (safer) remove these and report a warning.