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

Remove generics from Peaks #2046

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Mailaender
Copy link
Contributor

@Mailaender Mailaender commented Jan 23, 2025

IPeaks is a glorified list of peaks with a name attached to it. It is generic, leading to a difficult to read IProcessingInfo<IPeaks<IPeakMSD>> API which seems a bit odd conceptually, and it is only ever used in a context about MSD peaks, so I renamed and simplified it. There was one occasion in the PCA perspective with non MSD peaks, but I could just replace it with a List<IPeak> as it is kinda pointless there. Maybe we can get rid of it entirely at one point. ChromatogramPeaks was completely unused, so I removed it instead of porting it. Also removed extensions methods from IChromatogramPeaks that were only used in one place.

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

Successfully merging this pull request may close these issues.

1 participant