dhasterok / LaserMapExplorer

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

Quick view error on save #54

Open dhasterok opened 2 months ago

dhasterok commented 2 months ago

I'm refactoring by pulling QuickView class into its own file and have either created an error or we had one previously. May look at it later, but moving on for the moment.

To recreate the error, load a directory in main window, switch canvas to quick view. Open quick view list, type name into lineEdit field, try to save causes this error:

Traceback (most recent call last): File "/Users/dhasterok/GitHub/LaserMapExplorer/src/QuickView.py", line 126, in save_selected_analytes self.save_to_csv() File "/Users/dhasterok/GitHub/LaserMapExplorer/src/QuickView.py", line 135, in save_to_csv lameio.export_dict_to_csv(self.analyte_list, file_path) File "/Users/dhasterok/GitHub/LaserMapExplorer/src/lame_fileio.py", line 43, in export_dict_to_csv csv_writer.writerow([key] + values)


TypeError: can only concatenate list (not "str") to list