Dear users, I'm trying to make two strands in my model (Modeller8v0 , Windows) I have search the FAQ and I tried one script found there, but I get this error: a= mymodel (env, alnfile='JP.ali', knows='JAN', 'sequence='B-1') a= mymodel (env, ) mymodel get an unexpected keyword argumen 'alnfile'.
I don't know what to do. Can someone help me?.
Thank you in advance.
Eva Here is my script:
#Make two STRANDS def mymodel(automodel): def special_restraints(self, aln): rsr = self.restraints rsr.make(aln, restraint_type='STRAND', residue_ids=('63', '67')) rsr.make(aln, restraint_type='STRAND', residue_ids=('134', '137')) log.verbose() env = environ() env.io.atom_files_directory = '' a.starting_model= 1 a.ending_model = 30 a = mymodel(env, alnfile='JP.ali', knowns='JAN', sequence='B-1') a.make()
Eva María Priego wrote: > I'm trying to make two strands in my model (Modeller8v0 , Windows)
You should update to 8v1, which fixes some bugs in 8v0, some of which were in the documentation.
> def mymodel(automodel):
Replace 'def' with 'class' - i.e. it should read: class mymodel(automodel):
Ben Webb, Modeller Caretaker
participants (2)
-
Eva María Priego
-
Modeller Caretaker