Hello,
I have been using pylinac for some time now for reading dynalog files. I have done wonderful things with it so far. I think you have created an important piece of software that is useful even for the ordinary clinical physicist.
But I have a problem. From time to time I get an error when reading certain dynalogs. The error I get is something like this:
File “…\pylinac\log_analyzer.py”, line 370, in init
else:
File “…\pylinac\log_analyzer.py”, line 709, in _read_log
self._read_dlog(exclude_beam_off)
File “…\pylinac\log_analyzer.py”, line 742, in _read_tlog
self.subbeams, self._cursor = SubbeamManager(fcontent, self._cursor, self.header)._read()
File “…\pylinac\log_analyzer.py”, line 1931, in _read
self.sampling_interval = self._decode_binary(self._log_content, int)
ValueError: could not convert string to float: …\r\n\r\n
The last line pertains to patient_name. I discovered, after some experimentation, that if the first character of the patient_name is an upper case V, then this error will ensue. Can you confirm this?
Live long and prosper!