Index error occur in worksheet.get_values(combine_merged_cells = True)
#1298
Labels
worksheet.get_values(combine_merged_cells = True)
#1298
Describe the bug
If the last row or column in the worksheet is merged_cell,
IndexError occurs when performing
worksheet.get_values(combine_merged_cells = True)
.or
To Reproduce
Steps to reproduce the behavior:
worksheet.get_values(combine_merged_cells = True)
Expected behavior
worksheet.get_values(combine_merged_cells = True)
return
[['merge-test1'], ['merge-test1'], ['merge-test2'], ['merge-test2']]
Code example*
If applicable, provide a code example to help explain your problem.
Environment info:
Stack trace or other output that would be helpful
Additional context
The list brought by
worksheet.get()
has only the size of the merged cell up to the left-top with actual data, and the "merges" of the meta data has an index that exceeds that size, resulting in an error.The text was updated successfully, but these errors were encountered: