Bug 486031 - IMassSpectra should be generic
Summary: IMassSpectra should be generic
Status: UNCONFIRMED
Alias: None
Product: Chemclipse
Classification: Science
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 07:37 EST by Alexander Kerner CLA
Modified: 2016-01-18 07:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kerner CLA 2016-01-18 07:37:47 EST
from IMassSpectra to IMassSpectra<T extends IScanMSD>

This would simplify working with IMassSpectra and the IScanMSD objects.
E.g.:

IMassSpectra<IMSforIDVendorLibraryMassSpectrum> massSpectra = identifier.runIdentification(massSpectraList, massSpectrumIdentifierSettings, monitor);

IMassSpectra<IMSforIDVendorLibraryMassSpectrum> massSpectra = info.getMassSpectra();

for(IMSforIDVendorLibraryMassSpectrum massSpectrum : massSpectra.getList()){
do something
}			
		}