<b>Hi Everybody,<br>I am using phenix-1.3b.<br>When i tried to use &quot;Optimizing target weights&quot; utility by typing following command line<br><br></b><div style="text-align: left; font-family: arial narrow,sans-serif;">
<pre class="literal-block"><font size="4"><b>phenix.refine data.hkl model.pdb optimize_wxc=true optimize_wxu=true<br><br><br>I got following error. </b><br></font></pre></div><br>Traceback (most recent call last):<br>&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/command_line/refine.py&quot;, line 5, in &lt;module&gt;<br>

&nbsp;&nbsp;&nbsp; command_line.run(command_name=&quot;phenix.refine&quot;, args=sys.argv[1:])<br>
&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/command_line.py&quot;, line 78, in run<br>&nbsp;&nbsp;&nbsp; call_back_after_monitor_collect=call_back_after_monitor_collect)<br>&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/driver.py&quot;, line 1308, in run<br>


&nbsp;&nbsp;&nbsp; log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = log)<br>&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/strategies.py&quot;, line 642, in refinement_machine<br>&nbsp;&nbsp;&nbsp; log&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = log)<br>

&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py&quot;, line 327, in __init__<br>
&nbsp;&nbsp;&nbsp; self.wxc_optimization()<br>&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py&quot;, line 450, in wxc_optimization<br>&nbsp;&nbsp;&nbsp; rw, rf, b, a, a_xc = self.wx_opt_helper(w = wxc_scale_0 * wxc, sites=True)<br>


&nbsp; File &quot;/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py&quot;, line 387, in wx_opt_helper<br>&nbsp;&nbsp;&nbsp; verbose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0)<br>TypeError: __init__() takes at least 5 non-keyword arguments (3 given)<br>
<br><br><pre class="literal-block"><font size="4"><b><font>May anybody tell me please how can i fix these errors??<br><br><br>Thanks in advance.<br>yusuf<br><br></font></b></font></pre>
<br>

<br clear="all"><br><br>