LaboratoireMecaniqueLille / crappy

Command and Real-time Acquisition Parallelized in Python
https://crappy.readthedocs.io/en/stable/
GNU General Public License v2.0
78 stars 16 forks source link

Missing `resources` class in `__init__.py` #101

Closed WeisLeDocto closed 6 months ago

WeisLeDocto commented 6 months ago

In versions 2.0.3 and 2.0.4, the resources class was moved to the _global.py file (12ee73a081ce643cef0560b6159b18c3b2e18fd6). However, there was an omission to import this class in the __init__.py file. Consequently, all the examples relying on the resources class (mostly the ones handling example images) were broken.

This PR simply adds back the correct import in __init__.py, therefore fixing the broken examples. The 2.0.3 and 2.0.4 versions will be yanked on PyPI once 2.0.5 is released.