Hello,
I am trying to write metadata to a CSV file where each row is an individual trial. The challenge is that some of the data are changing trial-to-trial and others are not. I am using Zip to combine all of the nodes with data that change on each trial (so that it just produces one output once each node has updated its value), then am using CombineLatest to combine those data with the other metadata that do not change (animal name, etc.). The problem is that I end up with nested data going into the CSV writer, and so some of the cells have parentheses in the data where I don't want them (see attached screenshots of workflow and CSV file. Is there some way to flatten the output of CombineLatest, or get rid of the nested parentheses, to avoid this? Or a more clever way to combine the data?
Also, I haven't been able to figure out how to include a header for each column. I can set IncludeHeader to 1 but where would I feed in the header names? Is there an property I can externalize to do this?
Thanks!
Phil