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

Crash if NumMods >= 28 #4

Open
liv-acollins opened this issue Oct 4, 2017 · 1 comment
Open

Crash if NumMods >= 28 #4

liv-acollins opened this issue Oct 4, 2017 · 1 comment
Labels

Comments

@liv-acollins
Copy link

Input:
NumMods=28
HO3P,STY,opt,any,Phospho # Phosphorylation
O1,M,opt,any,Oxidation # Oxidation M
C12H20O10,RK,opt,any,Hex(2) # Lactostylation
C2H2O,K,opt,Prot-N-term,Acetyl # Acetylation Protein N-term (C2H2O can be replaced with "H(2) C(2) O")

On execute:

Exception parsing the file for parameter -mod: The given key was not present in the dictionary.
Exception while processing: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at InformedProteomics.Backend.Data.Sequence.ModificationParams.GenerateModCombMap() at InformedProteomics.Backend.Data.Sequence.AminoAcidSet..ctor(IEnumerable1 searchModifications, Int32 maxNumModsPerSequence)
at MSPathFinderT.TopDownInputParameters.LoadModsFile(String modFilePath)
at MSPathFinderT.TopDownInputParameters.Parse(Dictionary`2 parameters)
at MSPathFinderT.Program.Main(String[] args)

@FarmGeek4Life
Copy link
Member

I can duplicate this issue, but I still haven't found the exact cause of the problem (beyond the high maximum number of modifications)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants