Skip to content
GitLab
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
992836d7
Commit
992836d7
authored
Sep 28, 2020
by
myron
Committed by
Pierre Paleo
Oct 08, 2020
Browse files
Reactivated the cache mechanism for hal_tomo syntetic data creation
parent
35acfb7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
nabu/preproc/tests/test_alignment.py
View file @
992836d7
...
...
@@ -79,7 +79,7 @@ def get_cor_data_half_tomo():
datasource
=
ExternalResources
(
project
=
"nabu"
,
url_base
=
None
)
myfile
=
os
.
path
.
join
(
datasource
.
data_home
,
"data_for_ht_cor.h5"
)
if
True
or
not
os
.
path
.
isfile
(
myfile
):
if
not
os
.
path
.
isfile
(
myfile
):
im1
,
im2
,
cor
=
_get_challenging_ImsCouple_for_halftomo_cor
()
f
=
h5py
.
File
(
myfile
,
"w"
)
f
[
"im1"
]
=
np
.
array
(
im1
,
"f"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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