Skip to content

Commit 6d8e2b4

Browse files
committed
restrict cinema to PWDR seq fits
1 parent eda27d1 commit 6d8e2b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GSASII/GSASIIseqGUI.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ def show_project_dialog():
281281
return True
282282
else:
283283
return False
284+
# at present this only has been tested with PWDR sequential fits
285+
if not histNames[0].startswith('PWDR'):
286+
G2G.G2MessageBox(G2frame,
287+
'Cinema export is only available at present for PWDR fits',
288+
'Sorry')
289+
return
284290

285291
# create a table of values from sequential table, copying
286292
# the number of displayed digits and removing unneeded entries

0 commit comments

Comments
 (0)