Mzlib was hardcoded to save the product types from the first time the DissociationType.Custom was called. This functionality will not allow for two file specific parameters to be searched with two different sets of custom ions in MetaMorpheus. This PR changes the dictionary in which those get stored to determine the product types dynamically for DissociationType.Custom but retain the static implementation for all other dissociation types.
Mzlib was hardcoded to save the product types from the first time the DissociationType.Custom was called. This functionality will not allow for two file specific parameters to be searched with two different sets of custom ions in MetaMorpheus. This PR changes the dictionary in which those get stored to determine the product types dynamically for DissociationType.Custom but retain the static implementation for all other dissociation types.