--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/d1834731-8928-4c89-a8a0-238a526a3464%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Nicholas,Would it be possible to attach the workflow you are currently using? The issue here is that the VideoWriter and CsvWriter nodes use the FileName property at the beginning of the workflow execution. What can happen is that the FileName is updated, but too late, after the nodes have already started writing, so that you see the properties being updated but still the old filenames were used.The reason why this is happening will depend on the specific workflow structure you are using so it is hard to advise further without seeing the particular construction.
On 2 August 2017 at 19:52, Nicholas Guilbeault <ncguil...@gmail.com> wrote:
Hi,I am wondering if I have encountered a bug or whether I have encountered a problem with the structure of my workflow. What happens is I create a string to be used as a base file name that I then feed into multiple CsvWriter and VideoWriter nodes using the FileName externalized property for each node. The first time I run the workflow, the names of the csv and video files are correct. However, when I run the workflow a second time, after I have changed the string to produce a new base file name, for some reason the names of the csv files do not update (i.e. the file name is the same as the previous file name). Interestingly, the names of the videos do update, so there is no issue there. The issue is not that the string being passed to the CsvWriter's FileName property is not updated, because I check what the string being passed to the filename is and it is correct. I've also tried implementing a TakeUntil node such that the data being passed to the CsvWriter is only sent when the new FileName has been created. This also does not solve the problem. I am wondering, what is happening here and how can I fix this? Thanks for your help!Cheers,Nick
--
You received this message because you are subscribed to the Google Groups "Bonsai Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/3f57af2f-59c0-4e07-88d8-3e2461813e68%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/43c910a9-7f73-45a3-b5f1-b206fe857aa2%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai...@googlegroups.com.
Visit this group at https://groups.google.com/group/bonsai-users.

To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/864751c6-9435-447f-b59f-7b921c0d783f%40googlegroups.com.



What I was asking was, if there was a way of actually opening the file browser to select the file name that goes into the string that actually initializes the FileName for both input and output. The reason why I am asking is because it's a pain having to write the full path and file name each time on the String Node, instead of just using the file browser to select a file which carries the desired name (in this case, it's the input file, anyway).
Hope my question makes more sense now.
Thank you,
Luis
Hi LJ,Do you mean for selecting the FileName of the video writer? You can just select the VideoWriter node and choose the filename with an explorer dialog by clicking the button next to the FileName property.Or are you referring to formatting the string from a text node? You can use the new Format operator for much simpler and more flexible formatting operations.Hope one of these helps.
To unsubscribe from this group and stop receiving emails from it, send an email to bonsai...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bonsai-users/b882b02f-295b-45ae-8624-748e07a14c67%40googlegroups.com.