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
ba30dfc5
Commit
ba30dfc5
authored
May 11, 2021
by
Pierre Paleo
Browse files
Fix dtype not existing with HDF5Loader
parent
8d62cfa0
Pipeline
#46644
passed with stage
in 5 minutes and 40 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nabu/app/fullfield.py
View file @
ba30dfc5
...
@@ -753,7 +753,8 @@ class FullFieldPipeline:
...
@@ -753,7 +753,8 @@ class FullFieldPipeline:
el
=
time
()
-
t0
el
=
time
()
-
t0
shp
=
self
.
chunk_reader
.
data
.
shape
shp
=
self
.
chunk_reader
.
data
.
shape
GB
=
np
.
prod
(
shp
)
*
self
.
chunk_reader
.
dtype
.
itemsize
/
1e9
itemsize
=
self
.
chunk_reader
.
dtype
.
itemsize
if
hasattr
(
self
.
chunk_reader
,
"dtype"
)
else
4
GB
=
np
.
prod
(
shp
)
*
itemsize
/
1e9
self
.
logger
.
info
(
self
.
logger
.
info
(
"Read subvolume %s (%.2f GB) in %.2f s: %.3f GB/s"
"Read subvolume %s (%.2f GB) in %.2f s: %.3f GB/s"
%
(
str
(
shp
),
GB
,
el
,
GB
/
el
)
%
(
str
(
shp
),
GB
,
el
,
GB
/
el
)
...
...
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