Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
318d5383
Commit
318d5383
authored
Nov 09, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_analyzer.py
View file @
318d5383
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment