<div dir="ltr">Hi, everybody--<div><br></div><div>In data_containers.py, around line 2664, there's a routine flush_data_to_grids.  It seems like the line that says</div><div>"np = pointI[0].ravel().size"</div>

<div><br></div><div>is an error, as np refers to the numpy package.  Does that seem right?  I expect that should be number_of_points, or something?<br><div><br></div><div><div>    def _flush_data_to_grids(self, field, default_val, dtype='float32'):</div>

<div>        """</div><div>        A dangerous, thusly underscored, thing to do to a data object,</div><div>        we can flush back any changes in a given field that have been made</div><div>        with a default value for the rest of the grid.</div>

<div>        """</div><div>        i = 0</div><div>        for grid in self._grids:</div><div>            pointI = self._get_point_indices(grid)</div><div>            np = pointI[0].ravel().size</div><div>
            if grid.has_key(field):</div>
<div>                new_field = grid[field]</div><div>            else:</div><div>                new_field = np.ones(grid.ActiveDimensions, dtype=dtype) * default_val</div><div>            new_field[pointI] = self[field][i:i+np]</div>

<div>            grid[field] = new_field</div><div>            i += np</div><div><br></div><div><br></div>-- <br><div dir="ltr">-- Sent from a computer.<br></div>
</div></div></div>