Skip to content

Commit f990ff5

Browse files
committed
Fixed call to loadData, which does not transpose the
loaded array by default anymore.
1 parent 87666ea commit f990ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffpy/pdfmorph/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def readPDF(fname):
104104
"""
105105
from diffpy.utils.parsers import loadData
106106

107-
rv = loadData(fname)
107+
rv = loadData(fname, unpack=True)
108108
if len(rv) >= 2:
109109
return rv[:2]
110110
return (None, None)

0 commit comments

Comments
 (0)