Commit 08613d3e authored by mirandaa's avatar mirandaa
Browse files

safepoint untested

parent 3c8e96cc
......@@ -137,6 +137,10 @@ class MyFrame(MyFrame1):
self.directoryUpdated(None)
def directoryUpdated( self, event ):
if event is None:
self.model.source = []
else:
self.model.source = getSourceList(self.m_dirPicker1.GetPath())
self.m_listBox1.Set(self.model.source)
self.model.target = []
self.m_listBox2.Set(self.model.target)
......
......@@ -22,7 +22,7 @@ __version__ = "17.12.15.0"
def main(file):
log.setLevel(logging.DEBUG)
log.setLevel(logging.INFO)
if log.level == logging.DEBUG:log.addHandler(logging.StreamHandler()) # log to console
if log.level == logging.DEBUG:logging.basicConfig(filename='peakStrainer.log',filemode='w')
......@@ -87,8 +87,7 @@ def main(file):
# can't use filtered bins in mzxml because it is not readable by seems
filtered_bins = {k: formatPeaks(v) for k, v in filterlines_filtered.iteritems()}
# order = [' ms ', '.33-', ' ms ']
# filtered_bins = reorderScans(filtered_bins, order)
filtered_bins = reorder4lipidxplorer(filtered_bins)
newfilename = filename[:-4]+ '.mzXML'
log.info('Writing results to %s', newfilename)
......
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