Commit 318d5383 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

dataset_analyzer: catch all exceptions for magnified_pixel_size

parent 242fe4ba
Pipeline #36817 passed with stages
in 23 minutes and 4 seconds
......@@ -318,7 +318,7 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
try:
xs, yz = self.dataset_scanner._get_x_y_magnified_pixel_values()
ps = xs * 1e6
except AttributeError:
except:
ps = self.dataset_scanner.pixel_size * 1e6
return ps
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment