You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fixing the __repr__ and __str__ for the properties.
* Adding set_custom and remove_custom methods.
This will work for StructureBuilder, as they are in the setter_mixin.py
To add a custom properties on an already initialised `StructureBuilder`, you can directly define `structure.properties.custom` or use the `set_custom` method.
32
+
In the latter case, if `structure.properties.custom` is already defined, it will be updated with the new values provided in the `set_custom` method, but other keys will not be removed.
33
+
34
+
To delete a set of defined custom properties, use the `remove_custom` method, passing as input a list of keys (strings). To remove the entire custom dictionary, you
35
+
can call the same method without specifying any input parameter.
0 commit comments