For those of you who use the Debian Linux packages I hav in my repository, the fix has been made in the latest update. No need to make the changes Bruce suggests as long as you install the latest. Carlo On Thu, 6 Nov 2003, Bruce Ravel wrote:
This problem will be fixed in the next release of Atoms. Anyone who wants to fix this problem beforehand, here are the simple instructions:
unix people: 1. Copy the atoms.atp file to your ~/.atoms/ directory. (Create it if it does not already exist.) The atoms.atp file will be found in someplace like /usr/lib/perl5/site_perl/5.8.0/Xray/atp/ 2. Edit ~/.atoms/atoms.atp and change the precision in the first non-comment line from 8.4 to 9.5. 3. Save the file and fire up TkAtoms. Should work now.
windows people: 1. Using WordPad or NotePad, edit the file C:\Program Files\Ifeffit\perl\Xray\atp\atoms.atp 2. Change the precision in the first non-comment line from 8.4 to 9.5. 3. Save the file and fire up TkAtoms. Should work now.
There is a moral to this story. Atoms handles numerical precision in a quirky manner. If it is possible to use a factional representation of a number, do so. (I.e. always use "1/3" rather than 0.33, 0.333, 0.3333, or 0.33333 -- even though the last one will, in fact, work correctly.)
Thanks to Carlo for finding this problem and to Peter for a valient if unsuccessful stab at solving the problem. Thanks guys!
B
-- Carlo U. Segre -- Professor of Physics Associate Dean for Special Projects, Graduate College Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 segre@agni.phys.iit.edu http://www.iit.edu/~segre