Closed edavidfs closed 3 hours ago
Thanks for reporting this!
I confirmed the issue in a clean environment. I implemented your suggestion in commit eb297458ff and confirmed that it solved the issue. The commit is rolled into v0.1.5, which is now published on pypi.
Thanks again, and please let me know if you find another issue or have any other remarks or suggestions.
First of all congratulations for this project, it is perfectly documented. It is a pleasure to learn optics with it.
In the last update, the package is incomplete. I have tested in a new virtual environment with pip install and the internal modules like “surfaces” is not found. When importing the module “optics” an error occurs:
I think it is because these files are now modules, and they are not indicated in the pyproject.toml. I don't know if it is correct to add these modules in the toml files as:
In a clean commit I have added it, compiled optiland and installed in a clean project and it works.
I hope it will be of help to this excellent project