-
Notifications
You must be signed in to change notification settings - Fork 68
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
Issue adding a group to an Athena project using add_group #547
Comments
@didudash Thanks - that is clear (and sounds believable!). I'll look into that. I agree that adding any pair of energy/mu arrays should be possible, and this almost certainly needs more testing. |
@didudash thanks for pointing this. but I would rather recommending providing a group with @newville I am reluctant in permitting adding any attribute name, but rather force it. For a XAS group the names for energy and mu should be... This remark goes into the direction of refactoring the |
I agree. I would probably say that if you have a group with |
When adding a group to an Athena project using the
add_group
method, it runs into an error if:mutrans
It fails in the line: 692 of the file: https://github.com/xraypy/xraylarch/blob/master/larch/io/athena_project.py when trying to run the
pre_edge
method only with the group as attribute, without specifying the arguments for energy and mu.When the column name is
mu
it does not fail.The text was updated successfully, but these errors were encountered: