Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
L
LipidXplorer
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
labShevchenko
LipidXplorer
Commits
4adae4c5
Commit
4adae4c5
authored
Feb 26, 2018
by
mirandaa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dirty hack to reduce likelyhood of crash
give time for UI thread to update no memory concurrency
parent
32151a9c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lx/spectraImport.py
lx/spectraImport.py
+4
-0
No files found.
lx/spectraImport.py
View file @
4adae4c5
...
...
@@ -488,6 +488,10 @@ def doImport(options, scan, importDir, output, parent, listFiles, isTaken, isGro
nb_msms_scans
.
append
(
ret
[
4
])
nb_msms_peaks
.
append
(
ret
[
5
])
from
time
import
sleep
sleep
(
1
)
# dirty hack to reduce threading problem, give enough time for UI to update
# os if you enable memory logging it crashes in the same way
if
not
len
(
dictBasePeakIntensity
.
keys
())
>
0
:
raise
LipidXException
(
"Something wrong with the calculation of the base peaks"
)
...
...
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