Skip to content

Commit 8f2d184

Browse files
committed
fix total scattering file path issue for rmcprofile
1 parent be46b38 commit 8f2d184

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.notes/.linenoteplus

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# The location of this `.linenoteplus` file determines
2+
# the path to store and retrieve your notes.
3+
4+
# To relocate your notes, simply move or rename
5+
# the directory that contains this `.linenoteplus` file.

GSASII/GSASIIrmcGUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def OnPlotBtn(event):
271271
XY = np.empty((1,2))
272272
while XY.shape[0] == 1:
273273
try:
274-
XY = np.loadtxt(fileItem[0],skiprows=start)
274+
XY = np.loadtxt(os.path.join(G2frame.LastGPXdir,fileItem[0]),skiprows=start)
275275
except ValueError:
276276
start += 1
277277
if start > 500: #absurd number of header lines!

0 commit comments

Comments
 (0)