We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e025b0e commit 2cc4f2fCopy full SHA for 2cc4f2f
wirecell/util/peaks.py
@@ -250,7 +250,7 @@ def indices(self):
250
'Array of indices (0-based counts)'
251
return numpy.arange(self.number)
252
253
- labeled: numpy.ndarray = numpy.zeros((0,0))
+ labeled: ArrayLike = dataclasses.field(default_factory=lambda: numpy.zeros((0,0)))
254
'''
255
The frame with labeled pixels for each object.
256
0 commit comments