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

[modeller_usage] modeller error; " ValueError: too many arguments to unpack"



I am going to generate a monomer from one single Template (tseq1) by modeller. But there one problem is arised. I have a only one template. According to the basic tutorial of modeller.. I made alignment file like this, (where tseq1 is single template file)
from modeller import *
env = environ()
aln = alignment(env)
for (pdb, chain) in (('tseq1', 'A')):
m = model(env, file=pdb, model_segment=('FIRST:'+chain, 'LAST:'+chain))
aln.append_model(m, atom_files=pdb, align_codes=pdb+chain)
aln.malign()
aln.malign3d()
aln.compare_structures()
aln.id_table(matrix_file='family.mat')
env.dendrogram(matrix_file='family.mat', cluster_cut=-1.0)
That time it was failed to run by showing the following error
"ValueError:too many values to unpack" .
can anyone tell me where is the problem?

Thank you.
Best Regards.

Sourav Pal

JRF