Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lifs-public
lipidxplorer
Commits
47e72555
Commit
47e72555
authored
Aug 21, 2019
by
Eduardo Miranda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if there are no peaks there is no intensity, cover that error
parent
e6fb85cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lx/spectraContainer.py
lx/spectraContainer.py
+1
-1
No files found.
lx/spectraContainer.py
View file @
47e72555
...
...
@@ -1042,7 +1042,7 @@ MStolerance to an arbitrary value"""
# if the threshold is given as a relative value make absolute value
if
threshold_type
==
'relative'
:
t
[
sample
]
=
threshold
*
dictBasePeakIntensity
[
sample
]
t
[
sample
]
=
threshold
*
dictBasePeakIntensity
[
sample
]
if
dictBasePeakIntensity
[
sample
]
is
not
None
else
0
# if its none there where no peaks
else
:
t
[
sample
]
=
threshold
...
...
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