DiamondLightSource / DiamondLightSource/mx-bluesky
Parsing Detector Distance to Beam Size lookup file with leading spaces
Open
bug
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 2
Description
The det_dist_to_beam_converter.py script fails to load the lookup file if any rows in the file start with leading whitespace.
This is being caused by the call to loadtxt not handling/trimming the lines in the file before parsing them
Contributor guide
Assessment
This issue has not been assessed yet.