Skip to content

Commit 0a16453

Browse files
committed
chore: reformat docstrings
1 parent b047974 commit 0a16453

1 file changed

Lines changed: 18 additions & 21 deletions

File tree

src/diffpy/structure/structure.py

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,109 +1098,106 @@ def _get_composition(self):
10981098
)
10991099

11001100
occupancy = _link_atom_attribute(
1101-
"occupancy",
1102-
"Array of `Atom` occupancies. " "Assignment updates the occupancy attribute of all `Atoms`.",
1101+
"occupancy", "The `Atom` occupancies. Assignment updates the occupancy attributes of all `Atoms`"
11031102
)
11041103

11051104
xyz_cartn = _link_atom_attribute(
11061105
"xyz_cartn",
1107-
"Array of absolute Cartesian coordinates of all `Atoms`. "
1108-
"Assignment updates the `xyz` attribute of all `Atoms`.",
1106+
"The `Atom` absolute Cartesian coordinates. Assignment updates the `xyz` attribute of all `Atoms`.",
11091107
)
11101108

11111109
anisotropy = _link_atom_attribute(
11121110
"anisotropy",
1113-
"Boolean array for anisotropic thermal displacement flags. "
1114-
"Assignment updates the anisotropy attribute of all `Atoms`.",
1111+
" The anisotropic thermal displacement flags. Assignment updates the anisotropy attribute of all `Atoms`.",
11151112
)
11161113

11171114
U = _link_atom_attribute(
11181115
"U",
1119-
"Array of anisotropic thermal displacement tensors. "
1116+
"The anisotropic thermal displacement tensors. "
11201117
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11211118
)
11221119

11231120
Uisoequiv = _link_atom_attribute(
11241121
"Uisoequiv",
1125-
"Array of isotropic thermal displacement or equivalent values. "
1122+
"The isotropic thermal displacement or equivalent values. "
11261123
"Assignment updates the U attribute of all `Atoms`.",
11271124
)
11281125

11291126
U11 = _link_atom_attribute(
11301127
"U11",
1131-
"Array of `U11` elements of the anisotropic displacement tensors. "
1128+
"The `U11` elements of the anisotropic displacement tensors. "
11321129
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11331130
)
11341131

11351132
U22 = _link_atom_attribute(
11361133
"U22",
1137-
"Array of `U22` elements of the anisotropic displacement tensors. "
1134+
"The `U22` elements of the anisotropic displacement tensors. "
11381135
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11391136
)
11401137

11411138
U33 = _link_atom_attribute(
11421139
"U33",
1143-
"Array of `U33` elements of the anisotropic displacement tensors. "
1140+
"The `U33` elements of the anisotropic displacement tensors. "
11441141
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11451142
)
11461143

11471144
U12 = _link_atom_attribute(
11481145
"U12",
1149-
"Array of `U12` elements of the anisotropic displacement tensors. "
1146+
"The `U12` elements of the anisotropic displacement tensors."
11501147
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11511148
)
11521149

11531150
U13 = _link_atom_attribute(
11541151
"U13",
1155-
"Array of `U13` elements of the anisotropic displacement tensors. "
1152+
"The `U13` elements of the anisotropic displacement tensors."
11561153
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11571154
)
11581155

11591156
U23 = _link_atom_attribute(
11601157
"U23",
1161-
"Array of `U23` elements of the anisotropic displacement tensors. "
1158+
"The `U23` elements of the anisotropic displacement tensors."
11621159
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11631160
)
11641161

11651162
Bisoequiv = _link_atom_attribute(
11661163
"Bisoequiv",
1167-
"Array of Debye-Waller isotropic thermal displacement or equivalent values. "
1164+
"The Debye-Waller isotropic thermal displacement or equivalent values."
11681165
"Assignment updates the U attribute of all `Atoms`.",
11691166
)
11701167

11711168
B11 = _link_atom_attribute(
11721169
"B11",
1173-
"Array of `B11` elements of the Debye-Waller displacement tensors. "
1170+
"The `B11` elements of the Debye-Waller displacement tensors. "
11741171
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11751172
)
11761173

11771174
B22 = _link_atom_attribute(
11781175
"B22",
1179-
"Array of `B22` elements of the Debye-Waller displacement tensors. "
1176+
"The `B22` elements of the Debye-Waller displacement tensors."
11801177
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11811178
)
11821179

11831180
B33 = _link_atom_attribute(
11841181
"B33",
1185-
"Array of `B33` elements of the Debye-Waller displacement tensors. "
1182+
"The `B33` elements of the Debye-Waller displacement tensors."
11861183
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11871184
)
11881185

11891186
B12 = _link_atom_attribute(
11901187
"B12",
1191-
"Array of `B12` elements of the Debye-Waller displacement tensors. "
1188+
"The `B12` elements of the Debye-Waller displacement tensors."
11921189
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11931190
)
11941191

11951192
B13 = _link_atom_attribute(
11961193
"B13",
1197-
"Array of `B13` elements of the Debye-Waller displacement tensors. "
1194+
"The `B13` elements of the Debye-Waller displacement tensors."
11981195
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
11991196
)
12001197

12011198
B23 = _link_atom_attribute(
12021199
"B23",
1203-
"Array of `B23` elements of the Debye-Waller displacement tensors. "
1200+
"The `B23` elements of the Debye-Waller displacement tensors."
12041201
"Assignment updates the U and anisotropy attributes of all `Atoms`.",
12051202
)
12061203

0 commit comments

Comments
 (0)