Discussion List Archives

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

[Imgcif-l] fix to CBFlib manual

J. Lewis Muir found an error in the description of the byte-offset
algorithm in the CBFlib manual:

--- CBFlib.html.orig	2011-03-29 16:38:25.000000000 -0500
+++ CBFlib.html	2011-03-29 16:42:37.000000000 -0500
@@ -7783,8 +7783,7 @@
  make that the new base pixel value, place it on the
  output array and return to step 2.

-<li>If delta is 80000000 hex, read the next 4 bytes as a little_endian
-32-bit number and make that delta, read the next 8 bytes as a little_endia
+<li>If delta is 80000000 hex, read the next 8 bytes as a little_endian
  64-bit number and make that delta,  add delta to the base pixel value,
  make that the new base pixel value, place it on the
  output array and return to step 2.

The CBFlib svn and 0.9.2 release kit have been updated.

Many thanks to Lewis for spotting this. -- Herbert


-- 
=====================================================
  Herbert J. Bernstein, Professor of Computer Science
    Dowling College, Kramer Science Center, KSC 121
         Idle Hour Blvd, Oakdale, NY, 11769

                  +1-631-244-3035
                  yaya@dowling.edu
=====================================================
_______________________________________________
imgcif-l mailing list
imgcif-l@iucr.org
http://scripts.iucr.org/mailman/listinfo/imgcif-l

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.