DigitalSlideArchive / HistomicsStream

A whole-slide image reader for TensorFlow
Apache License 2.0
22 stars 6 forks source link

Use (int, np.integer) in isinstance #126

Closed cooperlab closed 1 year ago

cooperlab commented 1 year ago

@Leengit This is an odd issue I came across with more details here.

Should I apply this to other isinstance(x, int) checks with user-provided values too? Numpy types will be common.