Closed vijaysubramanya closed 3 months ago
@suyashkumar @jstutters
Hi there! At the moment, I'm not sure of a great way to safely update the file "in place" if that's what you want.
Something I would like to do is update the element-by-element parsing API (e.g. the Next() API on the parser) be more memory efficient by only holding onto the Dataset elements it needs for future parsing, and otherwise just transiently emitting the Elements one at a time.
Closing this, as I think the question was answered re: in-place editing.
I'm trying to update/de-identify some of the metadata tags (such as Patient ID). Is there a way to update the file directly without reading the file and writing back to the file? Currently, I'm reading the file into a variable, updating the elements, and writing back to a new file as below: