Ricardo Nicoluci wrote: > We used to have a script for modeller in the old type way. Now we > translated it to python mode, but the function automodel.generate_method > and automodel.rand_method are not working properly. The following error > occurs: > TypeError: 'str' object is not callable
You seem to have forgotten to attach the Python script, but it looks like you've tried to do something like a.generate_method = 'TRANSFER_XYZ' which won't work. Both generate_method and rand_method take Python subroutines as arguments, not strings. So the (working) equivalent of this would be a.generate_method = generate.transfer_xyz
See http://salilab.org/modeller/manual/node39.html and http://salilab.org/modeller/manual/node40.html
Ben Webb, Modeller Caretaker