From: BIN ZHANG (zhngbn_at_gmail.com)
Date: Wed Dec 24 2008 - 13:41:23 CST

Dear all:

I was trying to use the PDB beta column for numbering, and found it
problematic when the number was bigger than 1000.

Say if I do the following:

set sel [atomselect top "resid 200"]
$sel set beta 1002
puts [$sel get index]

set sel2 [atomselect top "beta 1002"]
puts [$sel2 get index]

these two index outputs won't be the same.

I know this issue comes from the format "%6.2f", but not sure how to
deal with it.

One way I can see would be divide the ID by 100 for writing, and
modify it back while selecting. Is there any other easier way, like
changing the format?

Thanks a lot.

Bin

-------------------------------------------------------------
The tree of liberty must be refreshed from time to time with the blood
of patriots and tyrants.