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

Set default values for time, color, and z-axes in ilastik model validation

parent 8c94afcf
No related branches found
No related tags found
2 merge requests!16Completed (de)serialization of RoiSet,!10Set default values for time, color, and z-axes in ilastik model validation
......@@ -80,7 +80,11 @@ class IlastikPixelClassifierModel(IlastikModel, SemanticSegmentationModel):
ax = raw_info['axistags'][()]
ax_keys = [ax['key'].upper() for ax in json.loads(ax)['axes']]
shape = raw_info['shape'][()]
return dict(zip(ax_keys, shape))
dd = dict(zip(ax_keys, shape))
for ci in 'TCZ':
if ci not in dd.keys():
dd[ci] = 1
return dd
@property
def model_chroma(self):
......
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