xing-lab-pitt / livecellx

GNU General Public License v3.0
11 stars 1 forks source link

SctOperator: add new single cell #50

Open dummyindex opened 1 year ago

dummyindex commented 1 year ago

Napari version: '0.4.17'

  1. Starting with 0 cells
  2. add one single cell, draw a contour and save
  3. the new shape does not show up in the napari UI; if users check the values in the notebook (sct_operator.shape_layer), everything looks fine, including napari shape_layer's data, face_color
  4. If users switch dimensions forth and back ONCE, the shape shows upKe worked on this issue and reviewed code. However, no clues for now. Adding refresh() does not work either.