@@ -67,7 +67,7 @@ Each `Site` object can have the following properties:
6767
6868 - Type: ` str ` for pure elements, ` list[str] ` for alloys
6969 - Example: ` 'Cu' ` or ` ['Cu', 'Zn'] `
70-
70+
7171- ** ` position ` ** : Atomic coordinates in Cartesian space
7272
7373 - Type: ` np.ndarray ` (shape: ` (3,) ` )
@@ -381,7 +381,7 @@ print(field_info.json_schema_extra) # {'store_in': 'db'}
381381
382382# Properties with 'singular_form' are site properties
383383field_info = StructureBaseModel.model_computed_fields[' charges' ]
384- print (field_info.json_schema_extra)
384+ print (field_info.json_schema_extra)
385385# {'store_in': 'repository', 'singular_form': 'charge'}
386386```
387387
@@ -390,10 +390,10 @@ print(field_info.json_schema_extra)
390390- ** ` store_in ` ** : Where to store the property
391391 - ` 'db' ` : Database attributes (fast queries, size-limited)
392392 - ` 'repository' ` : File repository (large arrays, slower queries)
393-
393+
394394- ** ` singular_form ` ** : Links plural computed property to singular site property
395395 - Example: ` charges ` (plural) ↔ ` charge ` (singular)
396-
396+
397397- ** ` statistic ` ** : Statistical aggregation for querying
398398 - ` 'max' ` : Maximum value across all sites
399399 - ` 'min' ` : Minimum value across all sites
@@ -467,4 +467,4 @@ builder.properties.sites.append({'symbol': 'Cu', 'position': [0, 0, 0]}) # OK
467467# StructureData: immutable (use for storing in database)
468468structure = StructureData(cell = [[3 , 0 , 0 ], [0 , 3 , 0 ], [0 , 0 , 3 ]], pbc = [True ]* 3 , sites = [... ])
469469structure.properties.sites.append(... ) # Error: immutable
470- ```
470+ ```
0 commit comments