Skip to content

AttributeError: 'NoneType' object has no attribute 'max_time' when initializing .tiff files #13

Description

@mheydasch

When trying to initialize .tiff (double f) files the Morpho_segmentation notebook will throw the error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/opt/anaconda3/envs/morphodynamics/lib/python3.7/site-packages/morphodynamics/morpho_segmentation.py in initialize(self, b)
    298             )
    299 
--> 300         self.max_time_ipw.max = self.data.max_time
    301         self.max_time_ipw.min = 0
    302         self.param.max_time = self.data.max_time

AttributeError: 'NoneType' object has no attribute 'max_time'

When the same images are converted to .tif (single f) the notebook can correctly initialize them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions