Releases: seequent/properties
Releases · seequent/properties
v0.1.5 - Bug Fixes
Bug Fixes
- use
tofile()instead oftobytes()to maintain numpy 1.7 compatibility - remove unused string format variable in array error
- replace '3point Science, Inc' with '3point Science' in the documentation
v0.1.4 - Bug fixes
Bug Fixes
- Fix a bug where
preandpostvalues are incorrect in_on_property_changewhen using+= - Remove
equal_naninproperties.array.serializeso numpy requirement >= 1.7 is accurate - Improve error messaging in
properties.vector
v0.1.3 - Resolve Pointers, Dirty, and PEP8
Major Features
- Pointer ptype may now be the string name of a property class.
- This allows recursive pointers to compile
- Once importing is complete
properties.Pointer.resolve()resolves these string ptypes into PropertyClass ptypes - This release introduces and corrects for infinite loops during validation
- PropertyClasses now contain a
_dirtyattribute- This lists the properties that have been changed
- It recurses into pointers to determine if they are dirty as well
_on_property_changehook fires when properties are changed_mark_cleanmakes all properties no longer dirty
- Several non-backwards-compatible variable and method name changes for PEP8 compatibility
properties.vmath.Vectormethods.as*with camelCase renamed to.as_*with no camel caseproperties.basic.RangeattributesmaxValueandminValuerenamedmax_valueandmin_value- Other internal name changes are also included
Minor Features
- Color may now be 'random'
- Array properties may only have dtype
float,int, or(float, int).Noneis no longer an option - 'auto_create' is now an attribute of properties
- The default is
True - However it can be set to
Falseif an creating a default property class instance is unwanted (or cannot be done due to required initialization parameters)
- The default is
- 'repeated' properties can now be 'required' so one or more value is required
- Improved
properties.basic.Rangeandproperties.basic.RangeInt - Broken and incomplete math classes (matrix, plane, and parallelogram) removed