pytdo 0.2.7__tar.gz → 0.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pytdo
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: Add your description here
5
5
  Author: Guillaume Le Goc
6
6
  Author-email: Guillaume Le Goc <guillaume.le-goc@lncmi.cnrs.fr>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytdo"
3
- version = "0.2.7"
3
+ version = "0.2.8"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -545,6 +545,18 @@ class MainWindow(gui.BaseMainWindow):
545
545
  self.wconfiguration.settings_parameters["spectro_nperseg"] / fs
546
546
  )
547
547
 
548
+ @pyqtSlot(bool, str)
549
+ def select_file_in_browser(self, is_toml: bool, filepath: str):
550
+ """
551
+ Select a file and set it as a configuration file or a new experiment ID.
552
+
553
+ Callback for when the user double-click on a file in the "Files" tab.
554
+ """
555
+ if filepath.endswith(".csv"):
556
+ self.load_csv_file(filepath)
557
+ else:
558
+ super().select_file_in_browser(is_toml, filepath)
559
+
548
560
  def check_tdo_extracted(self) -> bool:
549
561
  if not self.check_data_loaded():
550
562
  return False
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes