mahmoodlab / CLAM

Open source tools for computational pathology - Nature BME
http://clam.mahmoodlab.org
GNU General Public License v3.0
1.14k stars 366 forks source link

Catching writer exception in core_utils.py #77

Closed tabmoo closed 3 years ago

tabmoo commented 3 years ago

Hi! I think we need to catch an exception with something like "if writer is not None:" here:

https://github.com/mahmoodlab/CLAM/blob/e37eb3bac3c72e0f6e3127a01dee8cf4300d7eec/utils/core_utils.py#L220

fedshyvana commented 3 years ago

just fixed - thanks~