Skip to content
Snippets Groups Projects

Updates for TREC pipelines

Merged Christopher Randolph Rhodes requested to merge int_trec into staging
4 files
+ 10
8
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -525,7 +525,7 @@ class PatchStack(InMemoryDataAccessor):
assuming the each patch in the patch stack represents a single object.
:param mask of the same dimensions
"""
if self.shape != mask.shape or not mask.is_mask():
if not mask.can_mask(self):
raise DataShapeError(f'Patch stack object dataframe expects a mask of the same dimensions')
df = pd.DataFrame([
{
Loading