removed some debug prints

This commit is contained in:
Rob McMullen 2017-03-18 00:06:01 -07:00
parent d9ced9fbd2
commit 7ad688854c

View File

@ -499,11 +499,11 @@ class DefaultSegment(object):
def get_comment_locations(self, **kwargs): def get_comment_locations(self, **kwargs):
style_bits = self.get_style_bits(**kwargs) style_bits = self.get_style_bits(**kwargs)
r = self.rawdata.copy() r = self.rawdata.copy()
print len(r.style) #print len(r.style)
print len(r.style_base) #print len(r.style_base)
r.style_base[:] &= style_bits r.style_base[:] &= style_bits
comment_indexes = np.asarray(self.rawdata.extra.comments.keys(), dtype=np.uint32) comment_indexes = np.asarray(self.rawdata.extra.comments.keys(), dtype=np.uint32)
print comment_indexes #print comment_indexes
r.style_base[comment_indexes] |= comment_bit_mask r.style_base[comment_indexes] |= comment_bit_mask
return r.style return r.style