Conditionally 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 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.jsonaaa.archive.jsongwzkYaOipjERZgHrzmU1WyvOv4Qy_2nd_SAVE.json aaa.archive_2nd_SAVE.json