newlist = [] for subdir in dirs: analysis_return_code_file = os.path.join( subdir, env["SIGPROC_RESULTS"], "analysis_return_code.txt") if os.path.exists(analysis_return_code_file): with open(analysis_return_code_file, "r") as f: text = f.read() if "0" == text: newlist.append(subdir) dirs = newlist except Exception: traceback.print_exc() try: sigproc.mergeAvgNukeTraces(dirs, env["SIGPROC_RESULTS"], env["libraryKey"], "Library Beads") except Exception: printtime( "Warning: mergeAvgNukeTraces '%s' 'Library Beads' failed" % env["libraryKey"]) try: sigproc.mergeAvgNukeTraces(dirs, env["SIGPROC_RESULTS"], env["tfKey"], "Test Fragment Beads") except Exception: printtime( "Warning: mergeAvgNukeTraces '%s' 'Test Fragment Beads' failed" % env["tfKey"]) try: sigproc.generate_raw_data_traces(
newlist = [] for subdir in dirs: analysis_return_code_file = os.path.join(subdir, env['SIGPROC_RESULTS'], "analysis_return_code.txt") if os.path.exists(analysis_return_code_file): with open(analysis_return_code_file, 'r') as f: text = f.read() if '0' == text: newlist.append(subdir) dirs = newlist except: traceback.print_exc() try: sigproc.mergeAvgNukeTraces(dirs, env['SIGPROC_RESULTS'], env['libraryKey'], 'Library Beads') except: printtime("Warning: mergeAvgNukeTraces '%s' 'Library Beads' failed" % env['libraryKey']) try: sigproc.mergeAvgNukeTraces(dirs, env['SIGPROC_RESULTS'], env['tfKey'], 'Test Fragment Beads') except: printtime("Warning: mergeAvgNukeTraces '%s' 'Test Fragment Beads' failed" % env['tfKey']) try: sigproc.generate_raw_data_traces( env['libraryKey'], env['tfKey'], env['flowOrder'], env['SIGPROC_RESULTS']) except:
newlist = [] for subdir in dirs: analysis_return_code_file = os.path.join( subdir, env['SIGPROC_RESULTS'], "analysis_return_code.txt") if os.path.exists(analysis_return_code_file): with open(analysis_return_code_file, 'r') as f: text = f.read() if '0' == text: newlist.append(subdir) dirs = newlist except: traceback.print_exc() try: sigproc.mergeAvgNukeTraces(dirs, env['SIGPROC_RESULTS'], env['libraryKey'], 'Library Beads') except: printtime("Warning: mergeAvgNukeTraces '%s' 'Library Beads' failed" % env['libraryKey']) try: sigproc.mergeAvgNukeTraces(dirs, env['SIGPROC_RESULTS'], env['tfKey'], 'Test Fragment Beads') except: printtime("Warning: mergeAvgNukeTraces '%s' 'Test Fragment Beads' failed" % env['tfKey']) try: sigproc.generate_raw_data_traces( env['libraryKey'], env['tfKey'], env['flowOrder'], env['SIGPROC_RESULTS']) except: