Hi,
I assume I'm doing something stupid, but I can't seem to get Xplor (2.21, 2.23)
to parse pot.setPotType("soft") in analyze.py from the gb1_rdc examples (or my
real data).
I'm putting pot.setPotType( "soft" ) between pot = create_NOEPot and
pot.setScale(scale) (line 143, minus the # and the trailing comments).
I then get:
analyze.py(137): for (name,scale,file) in [('all',1,"noe_sum_3.tbl"),
analyze.py(142): pot = create_NOEPot(name,file,splitRestraints=True)
analyze.py(143): pot.setPotType("soft")
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/usr/local/xplor/xplor-nih-2.23/python/trace.py", line 180, in run
exec cmd in dict, dict
File "<string>", line 1, in <module>
File "analyze.py", line 143, in <module>
pot.setPotType("soft")
File "/usr/local/xplor/xplor-nih-2.23/python/wrappers/potList.py", line 126,
in <lambda>
__getattr__ = lambda self, name: _swig_getattr(self, PotList, name)
File "/usr/local/xplor/xplor-nih-2.23/python/wrappers/potList.py", line 21,
in _swig_getattr
raise AttributeError,name
AttributeError: setPotType
PyInterp::command: error executing: >execfile('analyze.py')<
Any ideas?
Thanks,
David