ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
648 stars 164 forks source link

ENH: Throw exception if image cannot be read #738

Closed cookpa closed 3 days ago

cookpa commented 4 days ago

Non-existent files are caught but empty / bad files caused a seg fault

coveralls commented 4 days ago

Coverage Status

coverage: 85.358%. remained the same when pulling 839651835dfd4d276e88e96a1dbb76d4eadd015f on io_check into f079ba6622f6b719dc751aede2776e9610ecbfff on master.