Skip to content
Snippets Groups Projects
Commit e071bf8b authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Simply added expanded attribute to pydantic model

parent 292c8b5c
No related branches found
No related tags found
3 merge requests!37Release 2024.04.19,!34Revert "Temporary error-handling for debug...",!25Allow "expanded" parameter to patch exports
......@@ -31,6 +31,7 @@ class PatchParams(BaseModel):
rgb_overlay_channels: List[Union[int, None]] = [None, None, None]
rgb_overlay_weights: List[float] = [1.0, 1.0, 1.0]
pad_to: int = 256
expanded: bool = False
class AnnotatedZStackParams(BaseModel):
......
......@@ -409,6 +409,8 @@ class TestRoiSetMultichannelProducts(BaseTestRoiSetMonoProducts, unittest.TestCa
'pad_to': 256,
},
})
self.assertTrue(hasattr(p.patches_2d, 'pad_to'))
self.assertTrue(hasattr(p.patches_2d, 'expanded'))
where = output_path / 'run_exports_expanded_2d_patch'
res = self.roiset.run_exports(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment