added some logging to hunt down why q wasn't being populated
This commit is contained in:
parent
d0e8d11156
commit
bb174094ab
@ -27,9 +27,13 @@ class grid(object):
|
|||||||
|
|
||||||
if verts != None:
|
if verts != None:
|
||||||
self.verts = np.array(verts)
|
self.verts = np.array(verts)
|
||||||
self.tree = KDTree(self.verts)
|
self.tree = KDTree(self.verts)
|
||||||
if q:
|
|
||||||
|
if q != None:
|
||||||
|
log.debug("found q")
|
||||||
self.q = np.array(q)
|
self.q = np.array(q)
|
||||||
|
else:
|
||||||
|
log.debug("no q")
|
||||||
|
|
||||||
self.cells = {}
|
self.cells = {}
|
||||||
self.cells_for_vert = defaultdict(list)
|
self.cells_for_vert = defaultdict(list)
|
||||||
|
Loading…
Reference in New Issue
Block a user