[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[modeller_usage] Unexpected keyword argument



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()