Commit 4adae4c5 authored by mirandaa's avatar mirandaa
Browse files

dirty hack to reduce likelyhood of crash

give time for UI thread to update
no memory concurrency
parent 32151a9c
......@@ -488,6 +488,10 @@ def doImport(options, scan, importDir, output, parent, listFiles, isTaken, isGro
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")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment