Hello everyone.

I have been trying to set-up some simulated annealing calculations for
a protein-protein complex with PRE restraints. I have been generating
the same output error message. To confirm that I haven't modified the
Python script (saWithPreAllNoRdc.py) beyond function, I tried
executing the same script as provided by the PREPot distribution
without any modifications (e.g., reading in all accompanying
restraints). This is the error message that is returned (and is
somewhat similar to my error message):

 File "<string>", line 1, in <module>
  File "saWithPreAllNoRdc.py", line 56, in <module>
    preEs2hn500=prePot.PREPot("Es2hn500",
open("../Restraints/preG2hnSryEs2Mn500.tbl").read(),"normal")
  File "/data6/users/scott/bin/xplor-nih-2.22/python/wrappers/prePot.py",
line 132, in __init__
    self.__oldinit__(*args)
  File "/data6/users/scott/bin/xplor-nih-2.22/python/wrappers/prePot.py",
line 100, in __init__
    _swig_setattr(self, PREPot, 'thisown, 1')
TypeError: _swig_setattr() takes exactly 4 arguments (3 given)
PyInterp::command: error executing: >execfile('saWithPreAllNoRdc.py')<

Could there be a problem with my python interpreter since I tested the
script with original restraints? The python interpreter version I am
using is v 2.4.1.

Thanks,
Valerie

Reply via email to