Bug was not there, but __repr__() now more robust in debug#242
Bug was not there, but __repr__() now more robust in debug#242
Conversation
…() now more robust in debug mode: falls back to __class__.__name__ if instance not valid
Codecov Report
@@ Coverage Diff @@
## devel #242 +/- ##
==========================================
- Coverage 43.95% 43.93% -0.03%
==========================================
Files 70 70
Lines 21278 21288 +10
==========================================
Hits 9352 9352
- Misses 11926 11936 +10
Continue to review full report at Codecov.
|
I'm confused as to why mention that in this PR ? |
|
Agreed, |
|
I changed your OP, but I think we could really juste erase the "erratum" paragraph. |
|
agreed |
|
done |
More informative camera construction from IDS
A warning has been added to camera construction from ids if some channels have nan in D or u
General Improvement
I noticed that the overloading of the parent class ToFuObjectBase.repr() method, though very useful when everything works fine, was a problem when in debug mode inside a class because the debugger wants to print the current variables, including self. But while debugging inside the class, self is not fully valid yet and the get_summary() medthod may not work, leading to the debugger bugging...
The parent method repr() is now more robust in debug mode: falls back to class.name if the current instance is not valid.
Issues
Issue #241 was not really an issue, closed