-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added control logic to instruct the dataconverter to create the outpu…
…t file based on an existent input-file to which then the template data are appended. This functionality is useful in cases when a scientific software has already generated a NeXus file but just some additional pieces of information are missing for the injection into the RDM. Examples of such missing info could be users, samples, project information, etc. This proof-of-concept implementation copies that input file and subsequently opens it as the output file and appends the template data subsequently. The current implementation does not verify though the NeXus content of this inputfile. However, in the future, this could be useful. The question is when to verify this and how: right after the copy?, after the template data were written?, or via loading all input file content first into the template and verify it as usual prior to writing to disk? While the latter idea enables overwriting content from inputfiles, the disadvantage is that template data might become too costly (wrt to memory demands, irrespective whether on the client or server side).
- Loading branch information
markus.kuehbach
committed
Aug 17, 2023
1 parent
71371c7
commit e1bb68b
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters