From 1f49e464407e4ef099f2ebec9e880a29af9f4ce1 Mon Sep 17 00:00:00 2001 From: Leif Warland Date: Fri, 4 Nov 2022 14:33:21 +0100 Subject: [PATCH] Add cols when shifting array index in one2zero_indexed --- rawxio/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rawxio/utils.py b/rawxio/utils.py index 9dfc08f..2011818 100644 --- a/rawxio/utils.py +++ b/rawxio/utils.py @@ -25,7 +25,7 @@ def one2zero_indexed( The format of the dict is the same as returned by read_rawx (or passed to write_rawx) """ for k, df in data.items(): - data[k] = shift_array_indices(df, 1) + data[k] = shift_array_indices(df, 1, cols) return data