Skip to content

Commit

Permalink
remove not required _larch
Browse files Browse the repository at this point in the history
  • Loading branch information
maurov committed Oct 20, 2023
1 parent d1cdb41 commit a2bb013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions larch/wxxas/xasgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def onExportCSV(self, evt=None):

try:
groups2csv(savegroups, outfile, x=res.xarray, y=res.yarray,
delim=res.delim, individual=res.individual, _larch=self.larch)
delim=res.delim, individual=res.individual)
self.write_message(f"Exported CSV file {outfile:s}")
except:
title = "Could not export CSV File"
Expand Down Expand Up @@ -752,7 +752,7 @@ def save_athena_project(self, filename, grouplist, prompt=True,
"Overwrite existing file?", style=wx.YES_NO):
return

aprj = AthenaProject(filename=filename, _larch=self.larch)
aprj = AthenaProject(filename=filename)
for label, grp in zip(grouplist, savegroups):
aprj.add_group(grp)
aprj.save(use_gzip=True)
Expand Down

0 comments on commit a2bb013

Please sign in to comment.