Skip to content

Commit

Permalink
Bug in merge_double_ended_times
Browse files Browse the repository at this point in the history
  • Loading branch information
bdestombe committed Jul 18, 2023
1 parent 39a3d9e commit a55b0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtscalibration/datastore_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def merge_double_ended_times(ds_fw, ds_bw):
elif direction == "bw" and direction_next == "bw":
print(f"Missing forward measurement beween {ds_bw.time.values[ind]} and {ds_bw.time.values[ind_next]}")

return ds_fw.isel(time=iuse_chfw), ds_fw.isel(time=iuse_chfw)
return ds_fw.isel(time=iuse_chfw), ds_bw.isel(time=iuse_chbw)


# pylint: disable=too-many-locals
Expand Down

0 comments on commit a55b0bc

Please sign in to comment.