dhasterok / LaserMapExplorer

An intuitive interface application designed to process and visualize large volumes of geochemical data.
5 stars 0 forks source link

Profiling error #79

Open mags612 opened 1 week ago

mags612 commented 1 week ago

Profiling function is not working with the following error:

Traceback (most recent call last): File "/Users/maggie/Desktop/LaME/LaserMapExplorer/main.py", line 3680, in plotWindow.scene().sigMouseClicked.connect(lambda event,array=self.array, k=field, plot=plotWindow: self.plot_clicked(event,array, k, plotWindow)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/maggie/Desktop/LaME/LaserMapExplorer/main.py", line 2572, in plot_clicked self.profiling.plot_profile_scatter(event, array, k,v, plot, x, y,x_i, y_i) File "/Users/maggie/Desktop/LaME/LaserMapExplorer/src/Profile.py", line 397, in plot_profile_scatter self.plot_profiles() File "/Users/maggie/Desktop/LaME/LaserMapExplorer/src/Profile.py", line 607, in plot_profiles cmap = self.main_window.get_colormap() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'MainWindow' object has no attribute 'get_colormap'

mags612 commented 2 days ago

tried to match the new style structure with profile and it's working now