Skip to content

Commit 2003bbe

Browse files
committed
enh: update curve list even when ancillary computation fails
1 parent 2973b89 commit 2003bbe

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
0.16.0
2+
- enh: update curve list even when ancillary computation fails
23
- ref: migrate from pyqt5 to pyqt6 (#35)
34
- setup: bump nanite to 4.2.1
45
0.15.10

pyjibe/fd/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,12 @@ def on_fit_all(self):
503503
try:
504504
self.tab_preprocess.apply_preprocessing(fdist)
505505
self.tab_fit.fit_approach_retract(fdist, update_ui=False)
506-
self.curve_list_update(item=ii)
507506
except BaseException as e:
508507
errored.append([fdist.path, e.__class__.__name__, e.args])
508+
finally:
509+
self.curve_list_update(item=ii)
509510
bar.setValue(ii+1)
511+
510512
# display qmap
511513
self.tab_qmap.mpl_qmap_update()
512514
if errored:

0 commit comments

Comments
 (0)