tAdded legacy read mode for old data files - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit afb3b8c648cb2ea08955d5a16a51691d2c0a2663
 (DIR) parent 5f80feadeeb6d2409daf56d63ee53a442b82e44f
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Tue, 12 Mar 2013 22:10:01 +0100
       
       Added legacy read mode for old data files
       
       Diffstat:
         M python/sphere.py                    |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -304,6 +304,8 @@ class Spherebin:
                        self.bonds_delta_t = numpy.fromfile(fh, dtype=numpy.float64, count=self.nb0*self.nd).reshape(self.nb0*self.nd)
                        self.bonds_omega_n = numpy.fromfile(fh, dtype=numpy.float64, count=self.nb0)
                        self.bonds_omega_t = numpy.fromfile(fh, dtype=numpy.float64, count=self.nb0*self.nd).reshape(self.nb0*self.nd)
       +            else:
       +                self.nb0 = 0
        
                finally:
                    if fh is not None: