napari-clusters-plotter icon indicating copy to clipboard operation
napari-clusters-plotter copied to clipboard

WIP: Restructuring plotter

Open zoccoler opened this issue 11 months ago • 6 comments

Now that I am back, I'd like to slowly continue this.

This is waaaay far from merging, but I am opening it as Draft to have a way to refer to changes, etc

@Cryaaa, @jo-mueller, is this branch the most up-to-date or is it the Plotter_Code_Overhaul branch?

@Cryaaa , I was trying to give it a test, but I am not able to run it, I get this error (I updated the link to the .ui file to my local file)

File [c:\users\mazo260d\documents\github\napari-clusters-plotter\napari_clusters_plotter\new_plotter_widget.py:97](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:97), in PlotterWidget.__init__(self, napari_viewer)
     [94](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:94) # Setting of Widget options
     [95](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:95) self.hue: QComboBox = self.control_widget.hue_box
---> [97](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:97) self.import_feats: QPushButton = self.control_widget.feature_import_button
     [98](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:98) self.update_button: QPushButton = self.control_widget.update_axes_button
     [99](file:///C:/users/mazo260d/documents/github/napari-clusters-plotter/napari_clusters_plotter/new_plotter_widget.py:99) self.plot_button: QPushButton = self.control_widget.feature_import_button

AttributeError: 'QWidget' object has no attribute 'feature_import_button'

What am I missing? Should I pursue working on this branch?

zoccoler avatar Feb 26 '24 11:02 zoccoler