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
tomoscan
Commits
46bce5e6
Commit
46bce5e6
authored
Feb 25, 2020
by
payno
Browse files
[edfscan][guess_index_frm_file_name] manage the case part1 is None
parent
93a23789
Pipeline
#21849
failed with stages
in 2 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tomoscan/esrf/edfscan.py
View file @
46bce5e6
...
...
@@ -328,7 +328,10 @@ class EDFTomoScan(TomoScanBase):
part_2
=
None
if
part_2
is
None
:
return
int
(
part_1
)
if
part_1
is
None
:
return
None
else
:
return
int
(
part_1
)
else
:
return
float
(
part_1
)
+
part_2
else
:
...
...
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