(dims, coords, max_rows: int | None = None)
| 635 | |
| 636 | |
| 637 | def unindexed_dims_repr(dims, coords, max_rows: int | None = None): |
| 638 | unindexed_dims = [d for d in dims if d not in coords] |
| 639 | if unindexed_dims: |
| 640 | dims_start = "Dimensions without coordinates: " |
| 641 | dims_str = _element_formatter( |
| 642 | unindexed_dims, col_width=len(dims_start), max_rows=max_rows |
| 643 | ) |
| 644 | return dims_start + dims_str |
| 645 | else: |
| 646 | return None |
| 647 | |
| 648 | |
| 649 | @contextlib.contextmanager |
no test coverage detected
searching dependent graphs…