You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+158-1Lines changed: 158 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,161 @@ and this project adheres to [Semantic Versioning][].
12
12
13
13
### Added
14
14
15
-
- Basic tool, preprocessing and plotting functions
15
+
### Changed
16
+
17
+
### Fixed
18
+
19
+
## [0.2.4] - 2025-11-05
20
+
21
+
### Added
22
+
23
+
### Changed
24
+
25
+
- Deprecated `TreeData.obst_keys` and `TreeData.vart_keys` for consistency with AnnData (https://github.com/scverse/anndata/pull/2093) (#73)
26
+
27
+
### Fixed
28
+
29
+
- Added support for zarr v3 (#73)
30
+
- Eliminated deprecations warnings from AnnData>=0.12.0 (#73)
31
+
32
+
## [0.2.3] - 2025-10-14
33
+
34
+
### Added
35
+
36
+
### Changed
37
+
38
+
- Optimized tree overlap detection to speed up copying and subsetting with many trees (#66)
39
+
- Switch to hatch with v0.0.6 template update (#61)
40
+
41
+
### Fixed
42
+
43
+
- Fixed codecov configuration (#64)
44
+
45
+
## [0.2.2] - 2025-09-18
46
+
47
+
### Added
48
+
49
+
-`tdata.has_overlap` parameter to check whether the `TreeData` object contains overlapping trees (#59)
50
+
51
+
### Changed
52
+
53
+
- Default value for `tdata.allow_overlap` is now `True` (#60)
54
+
55
+
### Fixed
56
+
57
+
## [0.2.1] - 2025-07-10
58
+
59
+
### Added
60
+
61
+
- support for instantiating `TreeData` objects with only the tree structure (#56)
62
+
63
+
### Changed
64
+
65
+
- Updated docs to clarify all the ways `TreeData` can be instantiated (#56)
66
+
67
+
### Fixed
68
+
69
+
## [0.2.0] - 2025-06-16
70
+
71
+
### Added
72
+
73
+
-`alignment` parameter which allows for `obs_names` and `var_names` aligned to either the leaves, nodes, or a subset of leaves and nodes in trees stored in the `obst` and `vart` fields. Added a tutorial describing how `alignment` works (#55)
74
+
75
+
### Changed
76
+
77
+
-`read_h5ad` and `write_h5ad` and been renamed `read_h5td` and `write_h5td` to clarify that the `treedata` format differs from `anndata`. `read_h5ad` and `write_h5ad` will be removed in `v1.0.0` (#56)
78
+
79
+
### Fixed
80
+
81
+
- Fixed typing issues (#51)
82
+
83
+
## [0.1.3] - 2025-01-20
84
+
85
+
### Added
86
+
87
+
### Changed
88
+
89
+
### Fixed
90
+
91
+
- Fixed typing issues (#51)
92
+
93
+
- Fixed `ImportError: zarr-python major version > 2 is not supported'` error with Python 12 (#46)
94
+
95
+
## [0.1.2] - 2024-12-02
96
+
97
+
### Added
98
+
99
+
### Changed
100
+
101
+
### Fixed
102
+
103
+
- Fixed `KeyError: "Unable to synchronously open object (object 'X' doesn't exist)"'` when reading h5ad without X field (#40)
104
+
105
+
## [0.1.1] - 2024-11-25
106
+
107
+
### Added
108
+
109
+
- Axis in `td.concat` can now be specified with `obs` and `var` (#40)
110
+
111
+
### Changed
112
+
113
+
### Fixed
114
+
115
+
- Fixed `ImportError: cannot import name '_resolve_dim' from 'anndata._core.merge'` caused by anndata update (#40)
116
+
117
+
## [0.1.0] - 2024-09-27
118
+
119
+
### Added
120
+
121
+
### Changed
122
+
123
+
- Encoding of `treedata` attributes in h5ad and zarr files. `label`, `allow_overlap`, `obst`, and `vart` are now separate fields in the file. (#31)
124
+
125
+
### Fixed
126
+
127
+
-`TreeData` objects with `.raw` specified can now be read (#31)
128
+
129
+
## [0.0.4] - 2024-09-02
130
+
131
+
### Added
132
+
133
+
### Changed
134
+
135
+
### Fixed
136
+
137
+
- Fixed typing bug introduced by anndata update (#29)
138
+
139
+
## [0.0.3] - 2024-08-21
140
+
141
+
### Added
142
+
143
+
- Add concatenation tutorial to documentation (#27)
144
+
145
+
### Changed
146
+
147
+
-`obst` and `vart` create local copy of `nx.DiGraphs` that are added (#26)
148
+
-`TreeData.label` value remains the same after `td.concat` as long as all `label` values are the same for all objects (#27)
149
+
150
+
### Fixed
151
+
152
+
- Fixed bug which caused key to be listed twice in `label` column after value update in `obst` or `vart` (#26)
153
+
154
+
## [0.0.2] - 2024-06-18
155
+
156
+
### Changed
157
+
158
+
- Empty trees are now allowed to avoid error on subsetting (#13)
159
+
- How trees are stored in h5ad and zarr files (#16)
160
+
- Format of label column with multiple trees ([1,2] -> 1,2) (#16)
161
+
162
+
### Fixed
163
+
164
+
- Fixed issue with slow read/write of large trees
165
+
166
+
## [0.0.1] - 2024-05-13
167
+
168
+
### Added
169
+
170
+
- TreeData class for storing and manipulating trees
TreeData is a lightweight wrapper around AnnData which adds two additional attributes, `obst` and `vart`, to store [nx.DiGraph] trees for observations and variables. TreeData has the same interface as AnnData and is fully compatible with [scverse] packages like [Scanpy].
13
19
14
-
Please refer to the [documentation][link-docs]. In particular, the
20
+
To learn more about TreeData, please refer to the [documentation][link-docs] or checkout the[getting started guide][link-getting-started].
15
21
16
-
-[API documentation][link-api].
22
+
See the [Pycea documentation](https://pycea.readthedocs.io/) to learn how TreeData can be used to analyze single-cell lineage tracing data.
17
23
18
24
## Installation
19
25
20
-
You need to have Python 3.9 or newer installed on your system. If you don't have
26
+
You need to have Python 3.10 or newer installed on your system. If you don't have
21
27
Python installed, we recommend installing [Mambaforge](https://github.com/conda-forge/miniforge#mambaforge).
22
28
23
29
There are several alternative options to install treedata:
24
30
25
-
<!--
26
-
1) Install the latest release of `treedata` from `PyPI <https://pypi.org/project/treedata/>`_:
31
+
1. Install the latest release of `treedata` from [PyPI](https://pypi.org/project/treedata):
0 commit comments