-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mz values not in order #135
Comments
@sgibb suggested to update the constructor to automatically sort the mz values. First, it might be good to double check the actual data with other software. I don't have the raw data at hand, but could add it. |
@jotsetung
|
OK; I would like to keep the spectra construction as fast as possible. For |
|
Not for Presently I'm playing around with automatic ordering of M/Z-intensity values by M/Z in the c-level |
The re-ordering should be done in the Done in 43e5976. I have also added this check in the @jotsetung - ping us when/if you work on this at the C-level. (PS: I have also removed the sort in |
@lgatto there is a problem in the |
o Clean up code for Spectrum1 constructors. o Fix failing unit tests and cleanup. o Fix issue in initialize of Spectrum objects: M/Z sorting should be done prior to initialization (see issue #135).
I think this is now sorted, thus closing. @jotsetung - please reopen if necessary. |
Not completely done yet; the |
o Add Spectra2 C-constructor that enforces ordering by M/Z values. o Add functionality to Spectrum1/2 C-constructor that calculates TIC from the data if not provided. o tic method for OnDiskMSnExp: load spectra and get TIC if any of the totIonCurrent values in fData are 0.
Now it's done (1d3024f). Ensured that ordering is correct in unit tests for |
Following up from @sgibb's comment:
The file is available here. It was converted from
RAW
usingmsconvert
without any filters.The text was updated successfully, but these errors were encountered: