cytomapper icon indicating copy to clipboard operation
cytomapper copied to clipboard

Started draft for bug fix

Open nilseling opened this issue 1 year ago • 4 comments

This is the start of the bug fix to address #85

This needs to be properly tested and adjusted. I already noticed now that when setting a gate that contains 0 cells leads to the clearing of all subsequent gates. This has not been the behaviour before the fix.

nilseling avatar Dec 15 '23 17:12 nilseling

Codecov Report

Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (7ba413f) 87.31% compared to head (adaae45) 87.06%.

Files Patch % Lines
R/server-utils.R 9.80% 46 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##            devel      #86      +/-   ##
==========================================
- Coverage   87.31%   87.06%   -0.25%     
==========================================
  Files          18       18              
  Lines        2751     2761      +10     
==========================================
+ Hits         2402     2404       +2     
- Misses        349      357       +8     

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

codecov[bot] avatar Dec 15 '23 18:12 codecov[bot]

I introduced a few more fixes:

  1. when the assay changed, the first gate was not erased (now fixed)
  2. There was a strange bug that when the first marker of a gate was set to empty, the gate was not erased. For safety reasons I have now added that all gates and objects are erased when any marker changes.

@lassedochreden, @SchulzDan please test this in detail when you get the chance. The design choices and expectations are a bit complex to handle alone.

nilseling avatar Dec 19 '23 15:12 nilseling

Bzw, the build issues on devel seem to be slang related; see Bioc developers forum slack

nilseling avatar Dec 19 '23 19:12 nilseling

Hi, I just installed version 1.15.3 and it seems that empty gates still propagate the previous gate into the downloaded sce.

SchulzDan avatar May 14 '24 13:05 SchulzDan