nomad-FAIR issueshttps://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/issues2024-03-05T14:34:41Zhttps://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/issues/1922Staging files sometimes are not removed.2024-03-05T14:34:41ZMarkus ScheidgenStaging files sometimes are not removed.This causes problems in displaying published entries.
We saw this behaviour when files like this `.nfs000000000c92634f0000001c` where part of the uploaded data. Everything gets deleted but those files. This is also not causing any error...This causes problems in displaying published entries.
We saw this behaviour when files like this `.nfs000000000c92634f0000001c` where part of the uploaded data. Everything gets deleted but those files. This is also not causing any errors while deleting, because we use `shutil.rmtree(..., ingore_errors=True)`.https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR/-/issues/823Conditionally adding some processing results to the raw file.2023-12-21T15:55:24ZAndrea AlbinoConditionally adding some processing results to the raw file.We allow schemas to normalize data from `*.archive.json|yaml` raw files. Sometimes it is desired to put these changes or additions back into the raw file. A specific example ELNs that parse a referenced file and add the contents to the E...We allow schemas to normalize data from `*.archive.json|yaml` raw files. Sometimes it is desired to put these changes or additions back into the raw file. A specific example ELNs that parse a referenced file and add the contents to the ELN entry. User here would expect that the data they see is also available from the raw file. If they press the save button twice, it would even show up in the raw file, because the ELN functionality edits the archive and saves it to the raw file.
**This issue was changed. The old issue text**:
The first time I press save from the eln the archive is not filled. The second time I press it, the archive gets filled.
The two files ending with "2nd_SAVE.json" are the ones generated after the second time I press save.
[gwzkYaOipjERZgHrzmU1WyvOv4Qy.json](/uploads/b538b012ed93c9ac52f8a5347390afd2/gwzkYaOipjERZgHrzmU1WyvOv4Qy.json)[aaa.archive.json](/uploads/d6dddd11e909a89d95e8bdfd3586823e/aaa.archive.json)[gwzkYaOipjERZgHrzmU1WyvOv4Qy_2nd_SAVE.json](/uploads/7f337884e3975c68d65c0b375a0c2a33/gwzkYaOipjERZgHrzmU1WyvOv4Qy_2nd_SAVE.json)
[aaa.archive_2nd_SAVE.json](/uploads/b7f7a4cd4fe4401f7c4a35a59e4cbde1/aaa.archive_2nd_SAVE.json)