-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add try/except around unpackSpecialData #809
Add try/except around unpackSpecialData #809
Conversation
Compare should be able to continue to run even if unpackSpecialData fails. Adding the traceback to the log printout so parameters that cause this step to fail can be more easily addressed.
I don't think im qualified for this review, so i will leave it to @john-science. |
…l_data_dont_fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change seems good, sure.
But I don't know Why this exception would need to be here. Can we put something in the PR description, or somewhere, that would explain (roughly) why this would ever fail?
Thanks! Nice work!
Would including more information in the description help? I think the main thing here is that some parameters are not able to be compared between two dbs and that leads to failures on the compareDB call and then this aborts the process. This aims to note which parameters have issues and then they can be manually compared by an analyst as needed. |
The code coverage in I'm trying to decide HOW that happened. Did we exit a function sooner than usual, and lose the coverage after some point? Hmm... Could be a fluke that won't happen again, of course. |
Added a little extra detail based on Jake's comment! |
compareDatabases should be able to continue to run even if unpackSpecialData fails. Some parameters are not able to be compared, which in a recent scenario led to a failure inside unpackSpecialData. This PR adds the try/except so that there is just an error and not a failure, and it also adds a the traceback to the log printout so parameters that cause this step to fail can be more easily addressed / manually compared.
Description
compareDatabases
should be able to continue to run even ifunpackSpecialData
fails.Some parameters are not able to be compared, which in a recent scenario led to a failure inside
unpackSpecialData
. This PR adds the try/except so that there is just an error and not a failure, and it also adds a the traceback to the log printout so parameters that cause this step to fail can be more easily addressed / manually compared.Checklist
doc
folder.setup.py
.