soft-matter / pims

Python Image Sequence: Load video and sequential images in many formats with a simple, consistent interface.
http://soft-matter.github.io/pims/
Other
259 stars 67 forks source link

Support pathlib.Path inputs #436

Open anntzer opened 1 year ago

anntzer commented 1 year ago

Currently pathlib.Path filenames are mostly not supported by pims (erroring in various places when passed as argument). I can try to improve on that, but one question is whether they should be globbed or not (I would think no, but this is not entirely clear-cut, see e.g. https://github.com/python/cpython/issues/79634).