Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tomotools
tomoscan
Commits
40af0014
Commit
40af0014
authored
Aug 04, 2020
by
payno
Browse files
Merge branch 'more_fix_hdf5_creation' into '0.3'
[hdf5scan] fix scan path when loaded from dictionnary See merge request
!20
parents
09027de1
56e0c227
Pipeline
#30881
passed with stages
in 3 minutes and 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
tomoscan/esrf/hdf5scan.py
View file @
40af0014
...
...
@@ -301,9 +301,13 @@ class HDF5TomoScan(TomoScanBase):
raise
ValueError
(
'No hdf5 entry specified'
)
assert
self
.
DICT_PATH_KEY
in
data
self
.
path
=
data
[
self
.
DICT_PATH_KEY
]
self
.
_entry
=
data
[
self
.
_DICT_ENTRY_KEY
]
self
.
master_file
=
self
.
get_master_file
(
self
.
path
)
self
.
master_file
=
self
.
get_master_file
(
data
[
self
.
DICT_PATH_KEY
])
if
os
.
path
.
isdir
(
data
[
self
.
DICT_PATH_KEY
]):
self
.
path
=
data
[
self
.
DICT_PATH_KEY
]
else
:
self
.
path
=
os
.
path
.
dirname
(
data
[
self
.
DICT_PATH_KEY
])
return
self
@
property
...
...
Write
Preview
Markdown
is supported
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