Skip to content

Commit

Permalink
larix EXAFS panel : make sure Select All processing works
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Mar 14, 2024
1 parent 242d611 commit af3d08a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion larch/wxxas/exafs_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ def process(self, dgroup=None, read_form=True, force=False, **kws):
txt = autobk_cmd.format(**conf)
except:
conf.update(self.read_form())
txt = autobk_cmd.format(**conf)

bkgpars = []
for attr in ('ek0', 'rbkg', 'bkg_kmin', 'bkg_kmax',
Expand Down Expand Up @@ -720,7 +721,7 @@ def onPlotSel(self, evt=None):
conf['label'] = dgroup.filename
conf['offset'] = offset * i
if not hasattr(dgroup, 'chir_mag'):
self.process(dgroup=dgroup, read_form=False)
self.process(dgroup=dgroup, force=True, read_form=False, **conf)

extra = """, offset={offset:.3f}, win=1, delay_draw=True,
label='{label:s}', new={new:s})"""
Expand Down

0 comments on commit af3d08a

Please sign in to comment.