vincent-maillou / qttools

Quantum Transport Algorithms Toolbox
GNU General Public License v3.0
5 stars 1 forks source link

Allow setting and getting blocks across views of the local stack #32

Closed vetschn closed 2 months ago

vetschn commented 2 months ago

I added an indexable .stack attribute to dsbsparse that does nothing except return a stack-view if indexed. This stack-view is bock-accessible again and can correctly be modified.

Will add tests next...

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 97.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 70.20%. Comparing base (e89b818) to head (18d40e0).

Files with missing lines Patch % Lines
src/qttools/datastructures/dsbsparse.py 96.55% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #32 +/- ## ========================================== + Coverage 69.53% 70.20% +0.67% ========================================== Files 17 17 Lines 650 668 +18 ========================================== + Hits 452 469 +17 - Misses 198 199 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.