Populate Outputs section for nmr#116
Populate Outputs section for nmr#116ladinesa merged 168 commits intoFAIRmat-NFDI:qe-gipaw-parserfrom
Outputs section for nmr#116Conversation
|
Hi @ladinesa, I tried to replicate the structure used in the Am I missing or doing something wrong? Thanks for your help! |
|
Hi, you should also add annotation to the Outputs section from the nmr schema package i.e The annotation for the outputs sub-section in common.py refers to the original Outputs section in nomad-simulations which does not contain Magnetic Shielding. |
|
Thanks @ladinesa! I tried to fix it as you suggested, following the structure of |
|
Hi @cecizag , I found several issues
|
|
Thanks. For now, I’m only working with text files, and those are the only ones I have in the test folder. I applied the changes you suggested, and indeed a |
get_magnetic_shields is returning a list of dict with key magnetic_shieldings so your annotation for magnetic_shieldings should be .magnetic_shielding snot '.@'. sorry i was the one who wrote @ |
|
Hi @ladinesa, I made the suggested change, but the situation is still the same. Would it be possible to schedule a short call to go over the situation together? I think I don’t fully understand how this new version of the parser works, and I believe a quick discussion would be helpful. Thanks! |
|
Hi @ladinesa , I tried to parse the XML files, following the approach used here: I couldn’t get it to work. To understand the issue, I tried debugging and noticed that even for non-GIPAW XML files, nothing gets parsed. Here’s the debug output: You can find all the files I used for testing and debugging in the |
I tried to parse the same pwscf xml file and it was able to yield can you try to print at what annotation_key is used? |
9e49460 to
777b177
Compare
|
can you rebase it again? |
| def logger(self): | ||
| return LOGGER | ||
|
|
||
| def get_gipaw_text(self, source: dict[str, Any]) -> list[dict[str, Any]]: |
There was a problem hiding this comment.
As much as possible, we reduce the amount of transformation of the source data, Could you maybe annotate directly to the file parser data. And if transformation is necessary split it into smaller functions. This way it is more readable.
777b177 to
1342ecf
Compare
|
I merged the latest commits as you suggested yesterday. I tried again to process some uploads from the GUI, and these are the results:
|
I checked out 5c2b0a7 but It has l458 |
|
Hi @ladinesa , thank you. I tried the new version, but I’m getting the following result:
|
|
Would it be possible for you to rebase your branch so I can test it thanks |
|
I merged, but now I get this error: |
|
please pull the most recent nomad-simulations develop branch |
|
Thanks, now I can start it. I get the same situation described here:
|
|
Hi @ladinesa , I figured out why we weren’t able to get the same outputs:
|
|
@cecizag are you done with the implementation? If yes, I will merge this and fix the remaining technical issues. |
|
@ladinesa yes, you can proceed with the merge. Thank you! |



No description provided.