You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Likely location of bug: /grand/dataio/root_trees.py
There is a bug when one tries to assign a value to trace_ch in a TADC tree. If you try to assign tadc.trace_ch = [my_trace_list], you get a very long error message that starts with:
This is the same error one might encounter when using tadc.copy_contents(). However, tadc.trace_ch = np.array([my_trace_list]) DOES work. Hopefully this can help to solve this issue.
Note that there is no issue when assigning values to other TADC attributes, it's only a problem for tadc.trace_ch. Not checked for trace properties in other TTrees.
The text was updated successfully, but these errors were encountered:
Likely location of bug:
/grand/dataio/root_trees.py
There is a bug when one tries to assign a value to
trace_ch
in a TADC tree. If you try to assigntadc.trace_ch = [my_trace_list]
, you get a very long error message that starts with:This is the same error one might encounter when using
tadc.copy_contents()
. However,tadc.trace_ch = np.array([my_trace_list])
DOES work. Hopefully this can help to solve this issue.Note that there is no issue when assigning values to other TADC attributes, it's only a problem for
tadc.trace_ch
. Not checked fortrace
properties in other TTrees.The text was updated successfully, but these errors were encountered: