Discussion List Archives

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

scientific numbers +ciftbx2.6.2

Hi, 
I was trying to read some numbers using numb_('',val,sig) in ciftbx-2.6.2 and 
struck a glitch with numbers in the format  0.319E+01 
Namely numb_() returns false.
Replacing the value with  3.19 all works fine. 

Quoting from section 1.2 page 2 of the Ciftbx primer plus
"A number string may be an integer, decimal or scientific notation"

I beleive numbers such as "0.127E-21" are in scientific notation, so I am
wondering is this a CIF syntax issue, a ciftbx issue , or just 
misunderstanding on my part.
Obviously I would prefer not to have to reformat these values if I 
can avoid it. 

thanks in advance for any guidance.
Doug

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Science Council (admitted 1947). Member of CODATA, the ISC Committee on Data. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

International Science Council Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.