evn-vlbi / VLBI-utilities

Utilities that can be used at stations to help with VLBI observations.
GNU General Public License v3.0
4 stars 2 forks source link

antabfs.py: Remove "\n" when reading logfiles #10

Open varenius opened 2 years ago

varenius commented 2 years ago

I get problems where the logfile data is parsed including "\n" so that e.g. polarisations are defined as "rcp\n", and therefore they do not match "rcp" in the code in various places. I think it would be good to strip the FS log lines when being read, by adding ".strip()" to https://github.com/evn-vlbi/VLBI-utilities/blob/master/antabfs.py#L511. This seems to solve my problems.