|
| 1 | +# skan v0.12.0 |
| 2 | + |
| 3 | +This release adds NumPy 2.0 compatibility (while remaining compatible with 1.x) |
| 4 | +([#229](https://github.com/jni/skan/pull/229)). It also lays the groundwork for |
| 5 | +new skeleton editing features with bidirectional Skeleton to NetworkX |
| 6 | +conversion functions ([#224](https://github.com/jni/skan/pull/224). |
| 7 | + |
| 8 | +We also have a minor deprecation that should improve quality of life in the |
| 9 | +future: column names in the summary dataframe can now use `_` as the separator |
| 10 | +(instead of `-`), which allows one to use the pandas attribute access for |
| 11 | +columns (for example, `summary.branch_distance` instead of |
| 12 | +`summary['branch-distance']`. Use the `separator='_'` keyword argument to |
| 13 | +`summarize` to take advantage of this feature (which will become the default in |
| 14 | +a future version), or `separator='-'` to maintain the current behavior even |
| 15 | +when new versions come out ([#215](https://github.com/jni/skan/pull/215)). |
| 16 | + |
| 17 | +The napari plugin now lets you make a Shapes layer fully backed by a Skeleton |
| 18 | +dataset, including coloring the edges by features in the summary table |
| 19 | +([#201](https://github.com/jni/skan/pull/201)). |
| 20 | + |
| 21 | +Thanks to [Neil Shephard](https://github.com/ns-rse), |
| 22 | +[James Ryan](https://github.com/jamesyan-git), |
| 23 | +[Jarod Hanko](https://github.com/jarodhanko-crafco), and |
| 24 | +[Tim Monko](https://github.com/TimMonko) for their contributions to this |
| 25 | +release! 🙏 You can find the full list of changes below: |
| 26 | + |
| 27 | +## API changes |
| 28 | + |
| 29 | +- [#215](https://github.com/jni/skan/pull/215): The separators used for column |
| 30 | + names are configurable, and will transition to `_` in the future. This is to |
| 31 | + make it easier to use the dataframe attribute interface, e.g. |
| 32 | + `summary.branch_distance` |
| 33 | + |
| 34 | +## New features |
| 35 | + |
| 36 | +- [#229](https://github.com/jni/skan/pull/229): NumPy 2 compatibility |
| 37 | +- [#224](https://github.com/jni/skan/pull/224): Create a networkx summary graph |
| 38 | + from a Skeleton |
| 39 | +- [#201](https://github.com/jni/skan/pull/201): Add napari widget to generate |
| 40 | + shapes layer from a skeletonized label layer |
| 41 | + |
| 42 | +## Improvements |
| 43 | + |
| 44 | +- [#220](https://github.com/jni/skan/pull/220): Allow mean pixel value |
| 45 | + calculation from integer values, not just floats |
| 46 | +- [#212](https://github.com/jni/skan/pull/212): Improved error reporting and |
| 47 | + tests for prune_paths methods |
| 48 | + |
| 49 | +## Bug fixes |
| 50 | + |
| 51 | +- [#221](https://github.com/jni/skan/pull/221): Fix documentation builds |
| 52 | +- [#210](https://github.com/jni/skan/pull/210): Cache skeleton_image shape for |
| 53 | + use by the path_label_image method |
| 54 | + |
| 55 | +## Documentation |
| 56 | + |
| 57 | +- [#231](https://github.com/jni/skan/pull/231): Add 0.12 release notes |
| 58 | + |
| 59 | +## Misc |
| 60 | + |
| 61 | +- [#218](https://github.com/jni/skan/pull/218): Fix pyproject.toml metadata |
| 62 | + formatting |
| 63 | +- [#217](https://github.com/jni/skan/pull/217): Migrate from setup.cfg to |
| 64 | + pyproject.toml |
| 65 | + |
0 commit comments