Skip to content

Commit

Permalink
Add cols when shifting array index in one2zero_indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwar committed Nov 4, 2022
1 parent fc31633 commit 1f49e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rawxio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1f49e46

Please sign in to comment.