BlackrockNeurotech / Python-Utilities

A collection of scripts for loading and manipulating Blackrock Microsystems datafiles.
27 stars 16 forks source link

$ in comment text breaks NeV comments #34

Open TomekFraczek opened 7 months ago

TomekFraczek commented 7 months ago

Text for any comment packets that include $ are not parsed as expected.

This is seems to be a result of lines 739-744 in brpylib.py. The char arrays for all comment text are concatenated together, with $ as a separator. They are then decoded and cleaned as a single unit, and split back up at $. As a result, the comment text for any comment that includes a $ is split into two comments.