FAIRmat-NFDI / nomad-material-processing

A NOMAD plugin containing base sections for material processing.
https://fairmat-nfdi.github.io/nomad-material-processing/
Apache License 2.0
9 stars 2 forks source link

create_archive function #35

Open aalbino2 opened 7 months ago

aalbino2 commented 7 months ago

dict_nan_equal is checking if two dicts are equal, ignoring any NaN value.

This is necessary because in Python it is always NaN != Nan

aalbino2 commented 7 months ago

BTW, I'm getting a different error when reprossing for the second time. It is something connected to the normalization of the EntityReference class. It is not finding anymore the context of the referenced Entry. I'll check it

ka-sarthak commented 1 month ago

I recently created entries in the nomad-polymerization-reactions plugin by creating archive.yaml files and adding them to the upload folder. The nomad parser can then make the entries for us. Regarding overwriting, we can put some logic for updating the archive.yaml files rather than the entries. I think @hampusnasstrom also had a similar idea.