Mass opens the external trigger file in "r" mode and then reads one line, leaving all data after the first \n to be read as binary via numpy. That fails if the first byte after the newline is not a printable character. I think the solution is just to open in "rb" mode.
Original report by Joseph Fowler (Bitbucket: joe_fowler, ).
Mass opens the external trigger file in
"r"
mode and then reads one line, leaving all data after the first\n
to be read as binary via numpy. That fails if the first byte after the newline is not a printable character. I think the solution is just to open in"rb"
mode.