Skip to content

Commit 1051032

Browse files
aaronfinkeYooSunYoung
authored andcommitted
fixed unit issue on even_time_offset
1 parent cba5343 commit 1051032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ess/nmx/executables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def reduction(
283283
)
284284

285285
da: sc.DataArray = dg['data']
286-
event_time_offset_unit = da.bins.coords['event_time_offset'].unit
286+
event_time_offset_unit = da.bins.coords['event_time_offset'].bins.unit
287287
display("Event time offset unit: %s", event_time_offset_unit)
288288
toa_bin_edges = toa_bin_edges.to(unit=event_time_offset_unit, copy=False)
289289
if chunk_size <= 0:

0 commit comments

Comments
 (0)