hnn-core icon indicating copy to clipboard operation
hnn-core copied to clipboard

[MRG] Clean up net.cell_response

Open ntolley opened this issue 1 year ago • 4 comments

#644 has brought to light a few bugs with how the CellResponse object is instantiated. Mainly trying to clean up the logic here.

Also removing the cell response indexing that nobody used or knows exists :wink:

ntolley avatar May 18 '23 01:05 ntolley

@jasmainak I've removed the __get_item__() functionality as I think it added a lot of complexity that was until now, mostly untested and documented.

ntolley avatar May 23 '23 21:05 ntolley

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.53%. Comparing base (819f4f4) to head (ba2616c). Report is 58 commits behind head on master.

:exclamation: Current head ba2616c differs from pull request most recent head f20ad9b

Please upload reports for the commit f20ad9b to get more accurate results.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #647      +/-   ##
==========================================
+ Coverage   92.33%   92.53%   +0.20%     
==========================================
  Files          27       22       -5     
  Lines        5059     4343     -716     
==========================================
- Hits         4671     4019     -652     
+ Misses        388      324      -64     

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

codecov-commenter avatar May 23 '23 21:05 codecov-commenter

@rythorpe @jasmainak @katduecker this is ready to go! The main goal was to remove the overly complicated cell_response indexing functionality

ntolley avatar Jun 13 '24 15:06 ntolley

looks good @ntolley

can you update whats_new.rst?

jasmainak avatar Jun 13 '24 16:06 jasmainak

@gtdang this is a pretty small PR that was supposed to be merged but was forgotten when things were stalled with the unit tests failing

It'd be good to have this merged before we make the release, it's main purpose is to remove an unused feature in the CellResponse class

ntolley avatar Jul 31 '24 16:07 ntolley