Closed Silvio-Re closed 2 years ago
Fixed in 3c393da
Thanks a lot for submitting this bug report and also investigating the bug yourself. I checked the fds source code on the output format again to ensure your fix will actually work in every possible scenario and could confirm that your suggestion is the way to go. However for the bugfix I actually used split(',"')
instead of split('",')
, as there are no quotation marks around the first column name (time).
Hello,
The console output this error :
Maybe this is a problem due to the fact that my DEVC name contain comas and maybe this little modification to simulation.py in the function
_load_DEVC_data
could solve it (split by",
instead of,
):line 927:
names = [name.replace('"', '').replace('\n', '').strip() for name in infile.readline().split(',')]
->names = [name.replace('"', '').replace('\n', '').strip() for name in infile.readline().split('",')]
This is fully untested in the real code as I do not use fdsreader to read DEVC for now.
Thank you, Silvio