Skip to content

Conversation

@ansgarkorf
Copy link
Member

No description provided.

if (msLevelFilter.isMs1Only()) {
var scan = row.getBestFeature().getRepresentativeScan();
return scan == null ? List.of() : List.of(scan);
if (allFragmentScans.size() == 1 && allFragmentScans.getFirst() instanceof PseudoSpectrum) {
Copy link
Member

@SteffenHeu SteffenHeu Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why size == 1? !empty should work or? And why the check for PseudoSpectrum? is that necessary for later processing? shouldnt all elements be a pseudospectrum then?

@SteffenHeu
Copy link
Member

looks good, thanks

@SteffenHeu SteffenHeu merged commit 69ca1c1 into mzmine:master Jun 14, 2024
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.

3 participants