Commit 92b9fda0 authored by rpeckner-broad's avatar rpeckner-broad Committed by GitHub
Browse files

Update Specter_Spark.py

parent 964612cf
......@@ -397,11 +397,6 @@ if __name__ == "__main__":
output = [[output[i][j][0],output[i][j][1],output[i][j][2],output[i][j][3],
output[i][j][4],output[i][j][5]] for i in range(len(output)) for j in range(len(output[i]))]
absolutePath = mzMLname.rsplit('/',1)[0]
noPathName = mzMLname.rsplit('/',1)[1]
if '/' in libName:
libName = libName.rsplit('/',1)[1]
outputPath = os.path.expanduser(absolutePath+'/SpecterResults/'+noPathName+'_'+libName+'_SpecterCoeffs.csv')
with open(outputPath, "ab") as f:
......@@ -415,11 +410,6 @@ if __name__ == "__main__":
output = [[output[i][j][0],output[i][j][1],output[i][j][2],output[i][j][3],
output[i][j][4],output[i][j][5]] for i in range(len(output)) for j in range(len(output[i]))]
absolutePath = mzMLname.rsplit('/',1)[0]
noPathName = mzMLname.rsplit('/',1)[1]
if '/' in libName:
libName = libName.rsplit('/',1)[1]
outputPath = os.path.expanduser(absolutePath+'/SpecterResults/'+noPathName+'_'+libName+'_SpecterCoeffsDecoys.csv')
with open(outputPath, "ab") as f:
......
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