File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1688,7 +1688,8 @@ def _get_master_xml_data(self):
16881688 self .xcalibration = float (self .settings .get ("pixelwidth" ))
16891689 self .ycalibration = float (self .settings .get ("pixelheight" ))
16901690 self .zcalibration = float (self .settings .get ("voxeldepth" ))
1691- self .tcalibration = int (float (self .settings .get ("timeinterval" )))
1691+ self .tcalibration = float (self .settings .get ("timeinterval" ))
1692+ if self .tcalibration == 0 : self .tcalibration = 1
16921693 self .detectorsettings = self .xml_content .find ("Settings" ).find (
16931694 "DetectorSettings"
16941695 )
@@ -1919,7 +1920,7 @@ def _get_xml_data(self):
19191920 self .xcalibration = float (self .settings .get ("pixelwidth" ))
19201921 self .ycalibration = float (self .settings .get ("pixelheight" ))
19211922 self .zcalibration = float (self .settings .get ("voxeldepth" ))
1922- self .tcalibration = int ( float (self .settings .get ("timeinterval" ) ))
1923+ self .tcalibration = float (self .settings .get ("timeinterval" ))
19231924 self .detectorsettings = self .xml_content .find ("Settings" ).find (
19241925 "DetectorSettings"
19251926 )
Original file line number Diff line number Diff line change 1- __version__ = version = "5.8.2 "
2- __version_tuple__ = version_tuple = (5 , 8 , 2 )
1+ __version__ = version = "5.8.3 "
2+ __version_tuple__ = version_tuple = (5 , 8 , 3 )
You can’t perform that action at this time.
0 commit comments