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

Add samples field to custom filters to allow fetching samples without session #10998

Merged

Conversation

gblaih
Copy link
Contributor

@gblaih gblaih commented Sep 17, 2024

Fix #10982

@gblaih gblaih force-pushed the demo-rfc80-poc-custom-samples-field branch from 967693c to a3e3be0 Compare September 18, 2024 15:11
List<CustomSampleIdentifier> samples = filter.getSamples();
return (samples != null) ? samples.stream() : Stream.empty();
})
.collect(Collectors.toList());

Choose a reason for hiding this comment

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

Suggested change
.collect(Collectors.toList());
.toList();

@junengineer
Copy link

@gblaih please replace collect(Collectors.toList()) with toList() in everywhere

@haynescd
Copy link
Collaborator

@gblaih address the sonar cloud issues as well

@gblaih gblaih force-pushed the demo-rfc80-poc-custom-samples-field branch from d586273 to 317412b Compare September 25, 2024 17:09
@alisman alisman force-pushed the demo-rfc80-poc-custom-samples-field branch from 6a3d7fa to 8cdd137 Compare October 1, 2024 15:51
Copy link

sonarcloud bot commented Oct 2, 2024

@alisman alisman merged commit 857329b into cBioPortal:demo-rfc80-poc Oct 2, 2024
10 of 13 checks passed
@gblaih gblaih deleted the demo-rfc80-poc-custom-samples-field branch October 22, 2024 14:13
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.

5 participants