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

Allow for custom _atom_site_ fields in CifWriter #3548

Closed
Andrew-S-Rosen opened this issue Jan 12, 2024 · 0 comments · Fixed by #3550
Closed

Allow for custom _atom_site_ fields in CifWriter #3548

Andrew-S-Rosen opened this issue Jan 12, 2024 · 0 comments · Fixed by #3550
Labels
enhancement A new feature or improvement to an existing one

Comments

@Andrew-S-Rosen
Copy link
Member

Andrew-S-Rosen commented Jan 12, 2024

Feature Requested

Right now, there is not too much flexibility with the CifWriter when it comes to what fields can be written out to the resulting CIF. It does have a keyword argument for writing out magnetic moments, but that's really it. It would be ideal to support a more generic option where the user can write out custom _atom_site_<NAME> fields based on the Structure object's site properties.

Proposed Solution

The solution is I will do it myself imminently and open a PR.

Relevant Information

@Andrew-S-Rosen Andrew-S-Rosen added the enhancement A new feature or improvement to an existing one label Jan 12, 2024
@Andrew-S-Rosen Andrew-S-Rosen changed the title Allow for custom _atom_site_label fields in CifWriter Allow for custom _atom_site_ fields in CifWriter Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement to an existing one
Projects
None yet
1 participant