CogStack / MedCATtutorials

General tutorials for the setup and use of MedCAT.
MIT License
32 stars 15 forks source link

CU-8692zn4y5: Replace CDB.print_stats with make_stats with a json dump #17

Closed mart-r closed 1 year ago

mart-r commented 1 year ago

The CDB.print_stats method logs the stats to a logger that isn't really set up during the tutorials.

Replaced with CDB.make_stats and a json dump.

mart-r commented 1 year ago

This actually does work in the jupyter notebook. The root logger must have been configured to log into the notebook.