Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Larix] Error exporting fit/statistics/components results from LCF #521

Closed
MDesmau opened this issue Jul 2, 2024 · 1 comment
Closed
Milestone

Comments

@MDesmau
Copy link

MDesmau commented Jul 2, 2024

Hi,

While trying to export the results from my LCF today, I run into this error (larix/larch version 0.9.78):

Traceback (most recent call last):
File "C:\Users\desmaum\AppData\Roaming\Python\Python311\site-packages\larch\wxxas\lincombo_panel.py", line 616, in onSaveGroupMultiFits
write_ascii(path, header=header, label=label, _larch=_larch, *out)
TypeError: write_ascii() got an unexpected keyword argument '_larch'

I removed '_larch=_larch' from the code on my computer (local) and it looks like it's working now (creation of .dat file with the LCF data in it, with data coherent with what I saw in Larix).

I don't know if it's a good fix for this error, but it might be worth looking into it.

Best,
Morgane

@newville
Copy link
Member

newville commented Jul 3, 2024

@MDesmau Thanks for the report - I fixed that in the development branch.

@maurov maurov added this to the 0.9.80 milestone Jul 18, 2024
@maurov maurov closed this as completed Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants