Skip to content

Commit 34bfb90

Browse files
committed
docs; fix typos in examples text that had load_data in tools
1 parent 8d11075 commit 34bfb90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/examples/parsers_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Using the parsers module, we can load file data into simple and easy-to-work-wit
1818

1919
.. code-block:: python
2020
21-
from diffpy.utils.tools import load_data
21+
from diffpy.utils.parsers import load_data
2222
data_table = load_data('<PATH to data.txt>')
2323
2424
While this will work with most datasets, on our ``data.txt`` file, we got a ``ValueError``. The reason for this is

docs/source/examples/resample_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ given enough datapoints.
1616

1717
.. code-block:: python
1818
19-
from diffpy.utils.tools import load_data
19+
from diffpy.utils.parsers import load_data
2020
nickel_datatable = load_data('<PATH to Nickel.gr>')
2121
nitarget_datatable = load_data('<PATH to NiTarget.gr>')
2222

0 commit comments

Comments
 (0)