$+ run("SetVar(refinement_output, strcat(FileName(),_refinement_output.html))") $- Extract $spy.gui.cif.check_for_embedded_hkl() #ignoreif --> $+ html.Snippet("gui/snippets/input-spin-td", "value=spy.GetParam('snum.refinement.max_cycles')", "name=SET_SNUM_REFINEMENT_MAX_CYCLES", "onchange=spy.SetMaxCycles(html.GetValue('~name~'))", "min=0", "max=200", ) $- $+ html.Snippet("gui/snippets/input-spin-td", "value=math.eval(abs(spy.GetParam(snum.refinement.max_peaks)))", "name=SET_SNUM_REFINEMENT_MAX_PEAKS", "min=0", "max=99", "onchange=spy.SetMaxPeaks(html.GetValue('~name~'))", ) $- #ignoreif --> $spy.gui.tools.make_exti_swat_gui() $+ html.Snippet("gui/snippets/input-checkbox-td", "name=SNUM_REFINEMENT_USE_SOLVENT_MASK", "label=Use Mask ", "checked=spy.GetParam('snum.refinement.use_solvent_mask')", "onclick=spy.SetMasking(html.GetState(~name~))>>html.update()", "bgcolor=GetVar(HtmlTableFirstcolColour)", "disabled=spy.gui.IsEDRefinement()", "td1= $+ html.Snippet("gui/snippets/input-checkbox-td", "name=SNUM_REFINEMENT_RECOMPUTE_MASK_BEFORE_REFINEMENT", "label=Update Mask", "checked=spy.GetParam('snum.refinement.recompute_mask_before_refinement')", "oncheck=spy.SetMasking(html.GetState(~name~))>> spy.SetParam('snum.refinement.recompute_mask_before_refinement','true')>> html.SetState('SNUM_REFINEMENT_USE_SOLVENT_MASK', 'true')", "onuncheck=spy.SetParam('snum.refinement.recompute_mask_before_refinement','false')", "bgcolor=GetVar(HtmlTableFirstcolColour)", "disabled=spy.gui.IsEDRefinement()", ) $- #ignoreif --> $+ html.Snippet("gui/snippets/input-checkbox-td", "name=USE_ASPHERICAL@refine", "checked=spy.GetParam('snum.NoSpherA2.use_aspherical')", "label=NoSpherA2 ", "height=0", "td1= #ignoreif --> -- NSFF not used #ignoreif --> -- NSFF disabled
Program
$+ html.Snippet("gui/snippets/input-checkbox", "name=USE_CLIENT_MODE@refine", "checked=spy.GetParam(user.refinement.client_mode, false)", "label=Client", "height=0", "bgcolor=GetVar(HtmlTableFirstcolColour)", "td1=", "onclick=spy.gui.set_client_mode(html.GetState(~name~))") $- Cycles Peaks
hkl file ED SFAC $+ html.Snippet("gui/snippets/input-combo", "name=ed-tables@refine", "width=100%", "items='Peng-1999 (4G)<-Peng-1999;UCLA-2022 (4G)<-UCLA-2022;CAP-2022 (4G)<-CAP-2022'", "value=spy.GetParam('snum.smtbx.electron_table_name')", "onchange=spy.sfac.set_ED_tables(html.GetValue(~name~))", "readonly=true") $- $+ html.Snippet("gui/snippets/input-button", "name=UPDATE_SFAC", "value=Update SFAC", "fit=true", "flat=false", "onclick=spy.sfac.generate_ED_SFAC auto true") $-
Weight $+ html.Snippet("gui/snippets/input-checkbox", "name=SET_SNUM_REFINEMENT_UPDATE_WEIGHT", "checked=spy.GetParam('snum.refinement.update_weight')", "bgcolor=GetVar(HtmlTableFirstcolColour)", "onclick=spy.SetParam('snum.refinement.update_weight', html.GetState('~name~'))", ) $- $spy.gui.tools.weightGuiDisplay() $+ html.Snippet("gui/snippets/input-combo", "name=REFINEMENT_ACTA", "items=No ACTA;ACTA NOHKL;ACTA", "value=Ins('acta')", "onchange=spy.actaGuiDisplay(html.GetValue('~name~'))", "readonly=False", "onchangealways=True", "bgcolor=spy.refinement_acta_bg_colour()", ) $-
" ) $- Use a solvent mask (smtbx.mask or SQUEEZE) Solvent masking is currently ignored for ED Dynamical Refinement
", "bgcolor=GetVar(HtmlTableFirstcolColour)", "onclick=spy.NoSpherA2.toggle_GUI()") $- #ignoreif --> $spy.MakeHoverButton('toolbar-delete', 'spy.NoSpherA2.wipe_wfn_jobs_folder()')
#ignoreif --> #ignoreif --> #ignoreif --> #ignoreif --> #ignoreif --> #ignoreif --> #ignoreif --> #ignoreif -->