Skip to content
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

[BUG] ChargeState is incorrect #22

Open
jameswallacew8 opened this issue Nov 7, 2023 · 0 comments
Open

[BUG] ChargeState is incorrect #22

jameswallacew8 opened this issue Nov 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jameswallacew8
Copy link

'GetChargeState' in 'MzIO.Thermo/ThermoRawFileReader.fs' does not return the ChargeState as it is accessing the incorrect index from the trailer data. This can be fixed by accessing index 7 instead:

static member private GetChargeState(rawFile:IRawDataPlus, scanNo:int) =
        // 7 is the index for charge state
        let trailerData = rawFile.GetTrailerExtraInformation(scanNo)
        Convert.ToInt32(trailerData.Values[7])
@jameswallacew8 jameswallacew8 added the bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant