Skip to content

Commit b55765e

Browse files
committed
fix codespell
1 parent 4539dba commit b55765e

File tree

1 file changed

+3
-3
lines changed
  • src/diffpy/similarity/metrics

1 file changed

+3
-3
lines changed

src/diffpy/similarity/metrics/amd.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def amd_compare(cif1, cif2, k=100):
5-
"""Compare two CIF files or two lists fo CIF files using the AMD metric.
5+
"""Compare two CIF files or two lists of CIF files using the AMD metric.
66
Use cif1 = cif2 = cif_list = [cif_0, cif_1, ...] to compare all CIF files
77
in cif_list.
88
@@ -20,7 +20,7 @@ def amd_compare(cif1, cif2, k=100):
2020
-------
2121
dm : float or pandas.DataFrame
2222
For single files cif1 and cif2, return the AMD distance value (float).
23-
If either cif1 or cif2 is a list, return a distance matrix
23+
If either cif1 or cif2 is a list, return a distance matrix
2424
of shape (len(cif1), len(cif2)).
2525
Each element represents the AMD distance between two structures.
2626
"""
@@ -35,7 +35,7 @@ def amd_compare(cif1, cif2, k=100):
3535

3636

3737
def pdd_compare(cif1, cif2, k=100):
38-
"""Compare two CIF files or two lists fo CIF files using the PDD metric.
38+
"""Compare two CIF files or two lists of CIF files using the PDD metric.
3939
Use cif1 = cif2 = cif_list = [cif_0, cif_1, ...] to compare all CIF files
4040
in cif_list.
4141

0 commit comments

Comments
 (0)