Skip to content

Commit

Permalink
fixed bug in reading sciex files
Browse files Browse the repository at this point in the history
  • Loading branch information
e-stan committed Sep 21, 2021
1 parent da6a23e commit 83546e0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file modified exampleData/Asp-Mal_1uM_5Da.DecoID
Binary file not shown.
1 change: 1 addition & 0 deletions examples/exampleUsage.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#filename of peak list
peakFile = "../exampleData/peak_table.csv"


#set parameters
usePeaks = True
DDA = True #data is DDA
Expand Down
3 changes: 2 additions & 1 deletion src/DecoID/DecoID.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,8 @@ def readRawDataFile(filename, maxMass, resolution, useMS1, ppmWidth = 50,offset=
#settings = filter.split("@")[1].split()[0]
#fragmentMode = settings[:3]
#NCE = float(settings[3:])
CE = temp["precursorList"]["precursor"][0]["activation"]['collision energy']
try: CE = temp["precursorList"]["precursor"][0]["activation"]['collision energy']
except: CE = -1
rt = temp["scanList"]["scan"][0]["scan start time"]
mzs = list(zip(temp["m/z array"],temp["intensity array"]))
tempSpecs = []
Expand Down
4 changes: 2 additions & 2 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
setup(
name = 'DecoID', # How you named your package folder (MyLib)
packages = ["DecoID"], # Chose the same as "name"
version = '0.3.1', # Start with a small number and increase it with every change you make
version = '0.3.2', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Metabolomics software for database assisted deconvolution of MS/MS spectra', # Give a short description about your library
author = 'Ethan Stancliffe', # Type in your name
author_email = 'estancl1234@gmail.com', # Type in your E-Mail
url = 'https://github.com/e-stan/DecoID', # Provide either the link to your github or to your website
download_url = 'https://github.com/e-stan/DecoID/archive/v0.3.1.tar.gz', # I explain this later on
download_url = 'https://github.com/e-stan/DecoID/archive/v0.3.2.tar.gz', # I explain this later on
keywords = ['Metabolomics', 'Deconvolution', 'MS/MS',"Metabolite ID"], # Keywords that define your package best
install_requires=[ # I get to this in a second
'numpy',
Expand Down

0 comments on commit 83546e0

Please sign in to comment.