Hello Yujie--
>
> I'm refining a protein structure with PRE? data of MTSL labels. There are
> something wrong with my "newRefine.py" script. Followed is a part of ERROR
> report.
>
The problem is with this snippet from your script:
>
> bbPre = PotList('bbPre')
> for p in (cysp114['Cysp114hn']):
> ??? bbPre.append(p)
> ??? pass
> crossTerms.append(bbPre)
It's a Python thing. The for loop with a single term can be written
for p in (cysp114['Cysp114hn'],):
or
for p in [cysp114['Cysp114hn']]:
I have changed the eginput/pre example to now use square brackets for
the next release, so that future others won't have this problem when
using only a single set of PREs.
best regards--
Charles
-------------- next part --------------
--
Charles Schwieters email: Charles at Schwieters.org
www: http://schwieters.org/cds
phone: (301) 402-4914 PGP key: http://schwieters.org/cds/pgp.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url :
http://dcb.cit.nih.gov/pipermail/xplor-nih/attachments/20121011/6c0668de/attachment.bin