Unverified Commit 22996f8d authored by Ryan Peckner's avatar Ryan Peckner Committed by GitHub
Browse files

Update Specter_Standalone.py

parent 9e8ccf8b
...@@ -382,6 +382,7 @@ if __name__ == "__main__": ...@@ -382,6 +382,7 @@ if __name__ == "__main__":
writer.writerows(header) writer.writerows(header)
print "Header written to {}.".format(headerPath) print "Header written to {}.".format(headerPath)
print "Analyzing MS2 spectra:"
MaxWindowPrecMZ = max(np.array([x[1] for x in res])) + max(np.array([x[4] for x in res])) MaxWindowPrecMZ = max(np.array([x[1] for x in res])) + max(np.array([x[4] for x in res]))
MaxOffset = max(np.array([x[4] for x in res])) MaxOffset = max(np.array([x[4] for x in res]))
...@@ -402,6 +403,7 @@ if __name__ == "__main__": ...@@ -402,6 +403,7 @@ if __name__ == "__main__":
writer.writerows(output) writer.writerows(output)
print "Output written to {}.".format(outputPath) print "Output written to {}.".format(outputPath)
print "Analyzing MS2 spectra with decoys:"
pool = multiprocessing.Pool(numProcessors) pool = multiprocessing.Pool(numProcessors)
with closing(pool) as p: with closing(pool) as p:
......
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