Hi,
The last line in your script needs to be something like:
cmd.pair_fit("/" + model + "///30-35/CA", "/template///289-294/CA")
or, more compactly:
cmd.pair_fit("/%s///30-35/CA" % model, "/template///289-294/CA")
this will expand the 'model' variable correctly to whatever it was
s
Hi,
I'm trying to write a script to load a series of model peptides and
superimpose them to a template structure.
The part that actually loads the models and superimpose them looks like
this:
for i in range(1,100):
model = 'model.pdb.' + str(i)
cmd.load(model)
cmd.hide(