File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def serialize_data(
3737 into a serial language file. Dictionary is formatted as {filename:
3838 data}.
3939
40- Requires hdata and data_table (can be generated by loadData ).
40+ Requires hdata and data_table (can be generated by load_data ).
4141
4242 Parameters
4343 ----------
Original file line number Diff line number Diff line change 99from xraydb import material_mu
1010
1111from diffpy .utils import validators
12- from diffpy .utils .parsers .loaddata import loadData
1312
1413
1514def _stringify (string_value ):
@@ -391,7 +390,7 @@ def compute_mud(filepath):
391390 mu*D : float
392391 The best-fit mu*D value.
393392 """
394- z_data , I_data = loadData (filepath , unpack = True )
393+ z_data , I_data = load_data (filepath , unpack = True )
395394 best_mud , _ = min (
396395 (_compute_single_mud (z_data , I_data ) for _ in range (20 )),
397396 key = lambda pair : pair [1 ],
Original file line number Diff line number Diff line change 77 ImproperSizeError ,
88 UnsupportedTypeError ,
99)
10- from diffpy .utils .parsers .loaddata import load_data
1110from diffpy .utils .parsers .serialization import deserialize_data , serialize_data
11+ from diffpy .utils .tools import load_data
1212
1313
1414def test_load_multiple (tmp_path , datafile ):
You can’t perform that action at this time.
0 commit comments