-
Notifications
You must be signed in to change notification settings - Fork 5
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 a-matrix inspection function #124
Conversation
Sourcery Code Quality Report❌ Merging this PR will decrease code quality in the affected files by 2.02%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Codecov ReportBase: 40.20% // Head: 44.85% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #124 +/- ##
==========================================
+ Coverage 40.20% 44.85% +4.64%
==========================================
Files 25 28 +3
Lines 771 845 +74
Branches 108 125 +17
==========================================
+ Hits 310 379 +69
Misses 460 460
- Partials 1 6 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Rebase and minor changes
fd583a7
to
159e795
Compare
Co-authored-by: Joris Snellenburg <[email protected]>
This change adds a new sub package for inspection functions (
pyglotaran_extras.inspect
) and theshow_a_matrixes
function to render all a-matrixes in aResultLike
optimization result.The rendered matrixes are wrapped in a html details tag per dataset, which is collapsed by default.
Inside the details tag, the matrixes are placed under a heading with the corresponding megacomplex name.
Here is an example of what output looks like, for more examples have a look at the markdown preview of the added unit test data:
Change summary
Checklist