description is plotted better now
This commit is contained in:
@@ -536,6 +536,8 @@ def read_from_hdf(hdf_node):
|
||||
|
||||
# job id and x,y titles are missing
|
||||
adc=ADC_Result()
|
||||
if hdf_node._v_title:
|
||||
adc.set_title(hdf_node._v_title)
|
||||
# populate description dictionary
|
||||
adc.description={}
|
||||
for attrname in hdf_node._v_attrs._v_attrnamesuser:
|
||||
|
||||
@@ -1167,6 +1167,8 @@ def read_from_hdf(hdf_node):
|
||||
accu.index.append((r["start"],r["start"]+r["length"]-1))
|
||||
accu.n=r["number"]
|
||||
accu.sampling_rate=1.0/r["dwelltime"]
|
||||
|
||||
accu.set_title("Accumulation: n = %d" % accu.n)
|
||||
|
||||
# now really belief there are no data
|
||||
if len(accu.index)==0 or accu.n==0:
|
||||
|
||||
Reference in New Issue
Block a user