Commit 669d8b32 authored by mirandaa's avatar mirandaa

fix: concurrent tread access "

parent 2a9b191c
...@@ -1025,6 +1025,7 @@ directory>, <the resolution of the mass spec machine> ...@@ -1025,6 +1025,7 @@ directory>, <the resolution of the mass spec machine>
mergeDeltaRes = options['MSresolutionDelta']) mergeDeltaRes = options['MSresolutionDelta'])
# for debugging # for debugging
strings = []
for cl in listClusters: for cl in listClusters:
str = '' str = ''
for sample in dictSpecEntry.keys():#cl.keys(): for sample in dictSpecEntry.keys():#cl.keys():
...@@ -1037,9 +1038,14 @@ directory>, <the resolution of the mass spec machine> ...@@ -1037,9 +1038,14 @@ directory>, <the resolution of the mass spec machine>
str += " /{0:>9.4f} - {1:>12}/ ".format(cl[sample].mass, '') str += " /{0:>9.4f} - {1:>12}/ ".format(cl[sample].mass, '')
except TypeError: except TypeError:
print "TypeError:", cl[sample].mass print "TypeError:", cl[sample].mass
except :
import sys
print(sys.exc_info()[0])
else: else:
str += " /{0:>9} - {1:>12}/ ".format('empty', '') str += " /{0:>9} - {1:>12}/ ".format('empty', '')
print str strings.append(str)
print('\n'.join(strings))
### averaging of the MS1 scans ### ### averaging of the MS1 scans ###
################################## ##################################
......
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