<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Yusuf,<br>
<br>
please use the latest version of PHENIX or CCI Apps and most likely
this error will go away:<br>
<a class="moz-txt-link-freetext" href="http://www.phenix-online.org/download/">http://www.phenix-online.org/download/</a><br>
<br>
Pavel.<br>
<br>
<br>
On 2/18/2009 3:06 PM, Yusuf Akhter wrote:
<blockquote
 cite="mid:20ed3b9a0902181506k28ab227csef619c73d61cec8a@mail.gmail.com"
 type="cite"><b>Hi Everybody,<br>
I am using phenix-1.3b.<br>
When i tried to use "Optimizing target weights" 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


I got following error. </b>
</font></pre>
  </div>
  <br>
Traceback (most recent call last):<br>
&nbsp; File
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/command_line/refine.py",
line 5, in &lt;module&gt;<br>
&nbsp;&nbsp;&nbsp; command_line.run(command_name="phenix.refine", args=sys.argv[1:])<br>
&nbsp; File
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/command_line.py",
line 78, in run<br>
&nbsp;&nbsp;&nbsp; call_back_after_monitor_collect=call_back_after_monitor_collect)<br>
&nbsp; File
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/driver.py",
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
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/strategies.py",
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
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py",
line 327, in __init__<br>
&nbsp;&nbsp;&nbsp; self.wxc_optimization()<br>
&nbsp; File
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py",
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
"/public/xtal/phenix/phenix-1.3b/phenix-1.3b/phenix/phenix/refinement/weight_xray_chem.py",
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??


Thanks in advance.
yusuf

</font></b></font></pre>
  <br>
  <br clear="all">
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
phenixbb mailing list
<a class="moz-txt-link-abbreviated" href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a>
<a class="moz-txt-link-freetext" href="http://www.phenix-online.org/mailman/listinfo/phenixbb">http://www.phenix-online.org/mailman/listinfo/phenixbb</a>
  </pre>
</blockquote>
</body>
</html>