Skip to content

Commit

Permalink
fix recursion error
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Oct 1, 2024
1 parent ad3c2ac commit c3380dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions src/asammdf/gui/widgets/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def scramble_thread(self, source_files, progress):
return

def scramble_finished(self):
self._progress.close()
self._progress = None

def scramble(self, event):
Expand Down Expand Up @@ -434,7 +433,6 @@ def extract_bus_csv_logging_finished(self):

self.output_info_bus.setPlainText("\n".join(message))

self._progress.close()
self._progress = None

def extract_bus_csv_logging(self, event):
Expand Down Expand Up @@ -668,7 +666,6 @@ def load_lin_database(self, event):
item.setSizeHint(widget.sizeHint())

def concatenate_finished(self):
self._progress.close()
self._progress = None

def concatenate(self, event=None):
Expand Down Expand Up @@ -826,7 +823,6 @@ def stack_thread(
return result

def stack_finished(self):
self._progress.close()
self._progress = None

def stack(self, event):
Expand Down Expand Up @@ -1330,7 +1326,6 @@ def __init__(self, opts):
return Options(options)

def apply_processing_finished(self):
self._progress.close()
self._progress = None

def apply_processing(self, event):
Expand Down
5 changes: 1 addition & 4 deletions src/asammdf/gui/widgets/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,6 @@ def scramble_finished(self):
path = Path(self.file_name)
self.open_new_files.emit([str(path.with_suffix(f".scrambled{path.suffix}"))])

self._progress.close()
self._progress = None

def scramble(self, event):
Expand All @@ -1824,7 +1823,6 @@ def extract_bus_logging_finished(self):
self.output_info_bus.setPlainText("\n".join(message))
self.open_new_files.emit([str(file_name)])

self._progress.close()
self._progress = None

def extract_bus_logging(self, event):
Expand Down Expand Up @@ -1971,7 +1969,6 @@ def extract_bus_csv_logging_finished(self):

self.output_info_bus.setPlainText("\n".join(message))

self._progress.close()
self._progress = None

def extract_bus_csv_logging(self, event):
Expand Down Expand Up @@ -2780,7 +2777,7 @@ def apply_processing(self, event):
)

def apply_processing_finished(self):
self._progress.close()

self._progress = None

def apply_processing_thread(self, file_name, opts, version, needs_filter, channels, progress=None):
Expand Down

0 comments on commit c3380dd

Please sign in to comment.