pylhc / omc3

Python 3 codes for beam optics measurements and corrections in circular particle accelerators
https://pylhc.github.io/omc3/
MIT License
14 stars 7 forks source link

Fix CO units issue in BBsrc converter #436

Closed fsoubelet closed 7 months ago

fsoubelet commented 7 months ago

Closes #435.

Fix is simply to divide by 1e3 when doing the conversion to go from the mm of BBsrc to the m of omc3.

codeclimate[bot] commented 7 months ago

Code Climate has analyzed commit f2ddbe8c and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 86.0%.

View more on Code Climate.