Преглед изворни кода

Bug fix: some times format recognition were broken

master
Benito Marcote пре 11 месеци
родитељ
комит
655cc80e23
  1. 2
      comment_tasav_file.py

2
comment_tasav_file.py

@ -241,7 +241,7 @@ def parse_setup(exp, type_exp, freq, datarate, number_ifs, bandwidth, pols):
# Can happen in case of e-EVNs if this is not the official run exp name.
date = date.replace('\n','').strip()
# date = date.split('\n')[-1].strip()
obsdate = dt.strptime(date, '%Y%m%d')
obsdate = dt.strptime(date[-8:], '%Y%m%d')
if freq < 0.6:
band = 'P'
elif freq < 1.9:

Loading…
Откажи
Сачувај