Commit e72cde7
Fix tidy_anndata to return empty dataframe when there are no scores.
This should fix #39, where we may have an empty anndata object with gene_id and strand obs, but no rows.
PiperOrigin-RevId: 874524624
Change-Id: I053d90491346cba679cd45069fda31104f5759641 parent e6901f1 commit e72cde7
2 files changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
704 | 708 | | |
705 | 709 | | |
706 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
707 | 713 | | |
708 | 714 | | |
709 | 715 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | 716 | | |
714 | 717 | | |
715 | 718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
880 | 887 | | |
881 | 888 | | |
882 | 889 | | |
| |||
0 commit comments