Nglui

Latest version: v3.7.1

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

Scan your dependencies

Page 2 of 8

3.4.0

Added

- **StateBuilder** : Added `use_skeleton_source` as an optional argument for `from_client` to use a skeleton service advertised in the info service.
- **SegmentProperties** New option `prepend_col_name` in `SegmentProperties.from_dataframe` will prepend the column name to the tag values.

3.3.7

Added

- **StateBuilder** New option on `StateBuilder.render_as`: `return_as="short"` will upload the state and return a short URL to the state.
- **StateBuilder** New helper `statebuilder.helpers.segment_property_link` will quickly generate a basic link from a segment property.

Changed

- Default "spelunker" neuroglancer deployment was changed.

Fixed

- **StateBuilder** Fixed a bug when setting the background color in Spelunker sites.
- **StateBuilder** Fixed a bug in using segment property maps.

3.3.6

Added

- **SegmentProperties** New method "label_format_map" allows you to build arbitrary label formats from dataframe columns using

Fixed

- **SegmentProperties** Nulls in label columns are ignored as intended.

3.3.5

Added

- **SegmentProperties** The `label_col` argument in `SegmentProperties.from_dataframe` can now take a list of column names. Labels are concatenated with a seperator set with `label_separator` that defaults to an underscore (`_`).
- **StateBuilder** Recent segment property arguments included in the segment property maps for SegmentationLayerConfigs.

Changed

- **SegmentProperties** All property names (the `id` field) are coerced to strings, as required.

3.3.4

Fixed

- **SegmentProperties**: Fixed a bug in building tags from dataframes.

3.3.3

Added

- **SegmentProperties**: Tag columns will now automatically disambuguate tags if they are duplicated in different columns of the dataframe.
For example, if you had "my_column" with value "type_a" and "their_column" also with value "type_a", the tag would become "my_column:type_a" and "their_column:type_a". This can be turned off by setting the `allow_disambiguation` argument to False.
- **SegmentProperties**: The `SegmentProperties.from_dataframe` method now has a `allow_disambiguation` argument to control whether the disambiguation above is performed.

Changed

- **SegmentProperties**: Tag property generation performance for long dataframes is improved.


Fixed

- **SegmentProperties**: Fixed a bug in handling tag columns with categorical dtype.

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.