Bug when select 2 folders with different type
Ex: select both Pegasus sample and Q330 sample together
Traceback (most recent call last):
File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/main_window.py", line 611, in read_selected_files
self.get_file_list()
File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/view/main_window.py", line 523, in get_file_list
self.data_type, self.is_multiplex = detect_data_type(
File "/Users/ldam/Documents/GIT/sohstationviewer/sohstationviewer/controller/processing.py", line 215, in detect_data_type
dir_data_type_str = json.dumps(dir_data_type_dict)
File "/Users/ldam/opt/anaconda3/envs/sohstationviewer-3.8/lib/python3.8/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/Users/ldam/opt/anaconda3/envs/sohstationviewer-3.8/lib/python3.8/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/Users/ldam/opt/anaconda3/envs/sohstationviewer-3.8/lib/python3.8/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
TypeError: keys must be str, int, float, bool or None, not PosixPath