What's Changed
Adds:
- GEFF import / export.
- A model now supports custom time properties (
reference_time_property) instead of relying on theframeproperty.reference_time_propertyneeds to be set at the model level. It is used by default when computing time-related properties, but can be case-by-case overwritten by any time property if needed. - A model now has an internal time property
timepoint. - If not given, the time-step of the data is automatically computed at the model creation if there is graph data to infer from. After model creation, it can be set with
Model.set_time_step(). Property.typeis now aFlaginstead of aLiteralto support multi-type properties, e.g.lineage_ID(type: Node | Lineage).- Model metadata is now a Dataclass (
ModelMetadata). - New
Model.has_cycle_data()method to check if a model has cycle data. - Functions for standard properties creation are now into
pycellin.graph.propertiessubpackage. - A lot of small refactoring.
- Improve test coverage to ~45% (but still way to go).
Renames:
Feature.data_typeintoFeature.dtypecell_lengthproperty intorod_length, andcell_widthproperty intorod_widthFeature.nameintoFeature.identifierand add a newFeature.nameModel.metadatainto Model.model_metadata- Globally replace the word
featurebypropertyandfeatbyprop
Fixes:
Model._categorize_props()
Next version:
- v0.5.1 ⇒ user documentation + API documentation
Full Changelog: v0.4.2...v0.5.0