-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
On the "optics_specific_tools.py" file, it is possible to skip the make thin of the sequence by setting:
sliceFactor=0This will trigger the following:
else:
warnings.warn('The sequences are not thin!')However this will lead to an error as the warnings python package is not imported anywhere (at least to my knowledge).
Simply adding:
import warningsin the "optics_specific_tools.py" file solves this issue. But I think it would be worth having it by default in order to avoid this small error.
Thanks a lot.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working