Count annotations. Returns ------- counts : dict A dictionary containing unique annotation descriptions as keys with their counts as values.
(self)
| 646 | return df |
| 647 | |
| 648 | def count(self): |
| 649 | """Count annotations. |
| 650 | |
| 651 | Returns |
| 652 | ------- |
| 653 | counts : dict |
| 654 | A dictionary containing unique annotation descriptions as keys with their |
| 655 | counts as values. |
| 656 | """ |
| 657 | return count_annotations(self) |
| 658 | |
| 659 | def _any_ch_names(self): |
| 660 | return any(len(ch) for ch in self.ch_names) |