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
tomoscan
Commits
2e08f186
Commit
2e08f186
authored
Mar 09, 2020
by
payno
Browse files
[scanFactory] simplify reading
parent
f5d0938f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/scanfactory.py
View file @
2e08f186
...
...
@@ -54,8 +54,8 @@ class ScanFactory:
return
EDFTomoScan
(
scan
=
scan_path
)
elif
HDF5TomoScan
.
is_tomoscan_dir
(
scan_path
):
return
HDF5TomoScan
(
scan
=
scan_path
)
raise
ValueError
(
'%s is not a valid scan path'
%
scan_path
)
else
:
raise
ValueError
(
'%s is not a valid scan path'
%
scan_path
)
@
staticmethod
def
create_scan_objects
(
scan_path
:
str
)
->
tuple
:
...
...
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