Commit 589aa849 authored by Takhir Fakhrutdinov's avatar Takhir Fakhrutdinov

Отладка eopfile

parent 4e40f4d1
...@@ -88,7 +88,7 @@ def _get_meas_t(meas): ...@@ -88,7 +88,7 @@ def _get_meas_t(meas):
tm = datetime.strptime(m['utc'],'%d/%m/%Y %H:%M:%S.%f') tm = datetime.strptime(m['utc'],'%d/%m/%Y %H:%M:%S.%f')
files.append(m['filename']) files.append(m['filename'])
tb,te = min(tb,tm),max(te,tm) tb,te = min(tb,tm),max(te,tm)
rec = [v(m[k]) for k,v in meas_list.items()] rec = [v(m[k]) if k != 'mag' else v(m.get(k,0)) for k,v in meas_list.items()]
mag = float(m.get('mag',0.0)) mag = float(m.get('mag',0.0))
if mag != 0: mags.append(mag) if mag != 0: mags.append(mag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment