Closed AndrewLevin closed 4 years ago
It looks like you've changed
VFATDACFitLargeChisquare
toDACAnalysisException
, but I don't see any downstream changes that werecatch
ing the old exception having been changed. Is this breaking in that regard? Does code need to be modified to work with this change if it is merged in?
Yes, there is code that catches this exception in testConnectivity.py
. I will prepare a pull request for vfatqc-python-scripts
.
@AndrewLevin is this stale?
no, it is not stale
@AndrewLevin, is this PR still relevant? In that case, a twin PR should be provided in vfatqc-python-scripts
.
@AndrewLevin, can we close this PR? Or will the remaining work ever be carried on?
the work is already carried out actually:
https://github.com/AndrewLevin/vfatqc-python-scripts/commit/d7b24bbe4c74b59a8ad970a28aac03181252a120
I will test it tomorrow
@AndrewLevin, have you checked that the changes are thorough and thoroughly tested?
well, I have did some tests, but there are so many dependencies it is hard to know if I missed something (which is why this should done by gitlab CI instead of a human...)
I think it is unlikely that there is an inconsistency now (anyway it is an exception, and would just not be caught), but it is fine with me if you want to not merge it
A new exception class
DACAnalysisException
is introduced which combinesVFATDACBiasCannotBeReached
andVFATDACFitLargeChisquare
.Description
The new exception class contains two
bool
s which identify which problem or problems cause the exception, and a message with the details.Types of changes
Motivation and Context
In the case of both a bad bias and a bad fit exception in the same DAC scan, only one of the two exceptions would be thrown, arbitrarily.
How Has This Been Tested?
I have reanalyzed a DAC scan which has both types of exceptions.
Screenshots (if appropriate):
Checklist: