-
Notifications
You must be signed in to change notification settings - Fork 3
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
magres_old parsing improvements #189
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, starting to look a lot better! Just some style questions and hopefully simplified RE structure.
Thanks for the comments and suggestions @oerc0122 , I think I've addressed all of them now. Do you have thoughts on
|
I think that duplicating data is probably unnecessary. Ultimately, I'm not sure we want the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on your thoughts and what you're using, we can leave the merging of magres
and magres_old
until the refactor to an iterative form. It will, however, be an API breaking change.
178a402
to
92dd918
Compare
- output from magres_old blocks now mirrors standard magres block - magres_old can now parse - ms - efg - isc_* - hf (hyperfine tensors) - updated test magres file to include new quantities in magres_old - changed the structure of the tensors in magres block to ThreeByThreeMatrix to remove any ambiguity in ordering (row vs col) - Updated test json and yaml files to the new structure
I've added in something to parse extra information in magres_old blocks. A lot of it will be redundant information (i.e. also in the regular magres block), but the hyperfine tensors, for example, aren't written out in the magres blocks, only magres_old.
Done:
Optional things left to do:
For now I removed the parsing of the eigenvectors/values and the isotropy etc. for each tensor - these could be added back in, but then maybe a structure like: