mirror of https://gitlab.com/pamhyr/pamhyr2
debug
parent
19a3f3d310
commit
824669f70f
|
|
@ -716,7 +716,7 @@ class AdisTSwc(AdisTS):
|
||||||
|
|
||||||
print("reading bin files is ok =======")
|
print("reading bin files is ok =======")
|
||||||
|
|
||||||
for i in range(ismax-1):
|
for i in range(ismax):
|
||||||
#print("first i: ", i)
|
#print("first i: ", i)
|
||||||
reach = ip_to_r(i)
|
reach = ip_to_r(i)
|
||||||
#print("reach i:", reach)
|
#print("reach i:", reach)
|
||||||
|
|
@ -758,7 +758,10 @@ class AdisTSwc(AdisTS):
|
||||||
|
|
||||||
print("adist ts results repertory: ", repertory)
|
print("adist ts results repertory: ", repertory)
|
||||||
|
|
||||||
results = super(AdisTSwc, self).results(study, repertory, qlog, name=name)
|
results = super(AdisTSwc, self).results(study,
|
||||||
|
repertory,
|
||||||
|
qlog,
|
||||||
|
name=name)
|
||||||
|
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ class TableModel(PamhyrTableModel):
|
||||||
if self._headers[column] == header_name:
|
if self._headers[column] == header_name:
|
||||||
v = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][0]
|
v = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][0]
|
||||||
return f"{v:.4f}"
|
return f"{v:.4f}"
|
||||||
elif self._headers[column] == pol + " Mass" and self._type_pol==7: #####
|
if self._headers[column] == pol + " Mass" and self._type_pol==7: #####
|
||||||
print(self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index])
|
print(self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index])
|
||||||
m1 = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][1]
|
m1 = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][1]
|
||||||
m2 = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][2]
|
m2 = self._lst[row].get_ts_key(self._timestamp, "pols")[pol_index][2]
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue