Convert a list of indices ``[0, 1, 2]`` into ``"arrays[0][1][2]"``.
(index)
| 547 | |
| 548 | |
| 549 | def _block_format_index(index): |
| 550 | """ |
| 551 | Convert a list of indices ``[0, 1, 2]`` into ``"arrays[0][1][2]"``. |
| 552 | """ |
| 553 | idx_str = ''.join(f'[{i}]' for i in index if i is not None) |
| 554 | return 'arrays' + idx_str |
| 555 | |
| 556 | |
| 557 | def _block_check_depths_match(arrays, parent_index=[]): |
no test coverage detected
searching dependent graphs…