Skip to content

Commit f75e09d

Browse files
Alison WuAlison Wu
authored andcommitted
fixed typos given by codespell
1 parent af5a1e8 commit f75e09d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ v3.2.3
9090

9191
**Added:**
9292

93-
* Compatability with Python 3.12.0rc3, 3.11.
93+
* Compatibility with Python 3.12.0rc3, 3.11.
9494
* CI Coverage.
9595
* New tests for loadData function.
9696
* loadData function now toggleable. Can return either (a) data read from data blocks or (b) header information stored

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ trying to commit again.
134134

135135
Improvements and fixes are always appreciated.
136136

137-
Before contribuing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE_OF_CONDUCT.rst>`_.
137+
Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE_OF_CONDUCT.rst>`_.
138138

139139
Contact
140140
-------

src/diffpy/utils/parsers/loaddata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def loadData(filename, minrows=10, headers=False, hdel="=", hignore=None, **kwar
3030
Minimum number of rows in the first data block. All rows must have the same number of floating
3131
point values.
3232
headers: bool
33-
when False (defualt), the function returns a numpy array of the data in the data block.
33+
when False (default), the function returns a numpy array of the data in the data block.
3434
When True, the function instead returns a dictionary of parameters and their corresponding
3535
values parsed from header (information prior the data block). See hdel and hignore for options
3636
to help with parsing header information.

src/diffpy/utils/parsers/resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def resample(r, s, dr):
113113
# spad = numpy.concatenate([s,spad])
114114
# rnew = numpy.arange(0, rpad[-1], dr)
115115
# snew = numpy.zeros_like(rnew)
116-
# Accomodate for the fact that r[0] might not be 0
116+
# Accommodate for the fact that r[0] might not be 0
117117
# u = (rnew-r[0]) / dr0
118118
# for n in range(len(spad)):
119119
# snew += spad[n] * numpy.sinc(u - n)

src/diffpy/utils/parsers/serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def serialize_data(
5656
include a path element in the database entry (default True). If 'path' is not included in hddata,
5757
extract path from filename.
5858
serial_file
59-
Serial language file to dump dictionary into. If None (defualt), no dumping will occur.
59+
Serial language file to dump dictionary into. If None (default), no dumping will occur.
6060
6161
Returns
6262
-------

0 commit comments

Comments
 (0)