Dcnum

Latest version: v0.25.4

Safety actively analyzes 685670 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

0.13.1

- fix: wrong event count in logs
- ref: np.product is deprecated in numpy 2.0

0.13.0

- feat: support writing file-based HDF5 basins (11)
- feat: support reading file-based HDF5 basins (11)
- feat: implement `create_with_basins` convenience method (11)
- fix: correctly support passing an ndarray to BackgroundSparseMed
instead of an input file path
- fix: BackgroundSparseMed did not work for datasets of length < 100
- fix: bad f-string in BackgroundSparseMed
- enh: create a default basin-based output file for background computation
- ref: unite initialization code of background comptuers in base class
- ref: define context managers of background comptuers in base class
- ref: remove functools.cache decorator from HDF5Data
- tests: add tests for BackgroundSparseMed

0.12.3

- fix: background computation with sparsemed did not work
- enh: support passing paths as strings to Background class

0.12.2

- enh: more efficient computation of inert_ratio_prnc feature (6)
- enh: more efficient computation of tilt feature (6)
- enh: feature computation for area_um_raw, deform_raw, eccentr_prnc,
per_ratio, and per_um_raw
- ref: increment DCNUM_PPID_GENERATION to 5

0.12.1

- fix: avoid NaN-valued features due to invalid contours (9)
- ref: increment DCNUM_PPID_GENERATION to 4

0.12.0

- ref: always use "spawn" for creating new processes to avoid race
conditions with Python threading.Lock upon forking on POSIX
- enh: some multiprocessing values in CPUSegmenter can be raw

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.