-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass a copy of sceneDict to _makeSceneNxR. fixes #502. #503
Conversation
@shirubana - I think this quick bug fix is ready to go. Tests are passing aside for the minor delta in coveralls coverage. |
@cdeline I see you removed removed hub_height from the dictionary. Is it still being saved somewhere?
Other htan that I'm okay to merge |
what happened with this PR? It still has a comment open from my prat above ~ |
So, inside makeScene1axis, we start with a |
Is hub _ height saved somewhere? It 's just for tracker systems to know what the hub height is, not the clearnace height as a side note, we should round up to 2 decimals. The scene files are ridiculously long. |
Re: 'clearance_height' and 'hub_height': in |
OK, I'll start looking at rounding in places. Let's say to 3 decimals which would be mm accuracy. |
…itch, 0 digits for tilt angle.
OK, tests are passing, |
instead of copying some of the keys of sceneDict into a sceneDict2 and passing that to _makeSceneNxR, this updates the appropriate keys, and makes sure that _makeSceneNxR is working from a copy.deepcopy of sceneDict. Because it's a mutable type, this dict was being updated within the makeScene1axis loop. Using a copy here solves that problem.