File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -5477,6 +5477,20 @@ def _get_opt_val(opt_name, out):
54775477 r'<OPTION VALUE="([^"]+)">([^<]+)</OPTION>' ,str_tmp
54785478 )
54795479
5480+ G2frame .OnFileSave (None )
5481+ orgFilName = G2frame .GSASprojectfile
5482+ phsnam = phase_sel
5483+ resId = G2gd .GetGPXtreeItemId (G2frame , G2frame .root , 'Restraints' )
5484+ Restraints = G2frame .GPXtree .GetItemPyData (resId )
5485+ resId = G2gd .GetGPXtreeItemId (G2frame , resId , phsnam )
5486+ orgData = copy .deepcopy (data )
5487+
5488+ if Restraints :
5489+ Restraints [phsnam ]['Bond' ]['Bonds' ] = []
5490+ Restraints [phsnam ]['Angle' ]['Angles' ] = []
5491+ savedRestraints = Restraints [phsnam ]
5492+ del Restraints [phsnam ]
5493+
54805494 for ir_opt , _ in ir_options :
54815495 print ("Processing irrep:" , ir_opt )
54825496 data ["input" ] = "irrep"
You can’t perform that action at this time.
0 commit comments