Skip to content
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

Fix crash for low numbered runs where hodoscope is not initialized. #459

Merged
merged 1 commit into from May 7, 2019

Conversation

mholtrop
Copy link
Collaborator

@mholtrop mholtrop commented May 6, 2019

Very simple bug fix.

Copy link
Member

@JeremyMcCormick JeremyMcCormick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't necessary, and I don't think this PR should be approved. The proper way to fix is just using a valid run number which is not from the Test Run.

@mholtrop
Copy link
Collaborator Author

mholtrop commented May 7, 2019

Not fixing this means that the code will not work for any test run data, i.e. all runs with low run numbers. That is OK, in my opinion, but in that case, all test run clutter should simply be ripped out off the code base instead of cluttering up everything. There is no need to keep code in the code base that is broken and we are not willing to accept simple fixes to.

@JeremyMcCormick
Copy link
Member

JeremyMcCormick commented May 7, 2019 via email

@mholtrop
Copy link
Collaborator Author

mholtrop commented May 7, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants