-
Notifications
You must be signed in to change notification settings - Fork 601
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
fix: allow empty genepanel query for API #11358
base: master
Are you sure you want to change the base?
Conversation
The branch doesn't build https://github.com/cBioPortal/cbioportal/actions/runs/13027890996/job/36679514058?pr=11358 |
Fixed, thans for the notification, accidentally removed a line with the variable definition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solves the reported problem
ca43fca
to
cd66b71
Compare
List<SampleMolecularIdentifier> molecularSampleIdentifier = interceptedGenePanelDataMultipleStudyFilter.getSampleMolecularIdentifiers(); | ||
|
||
if (molecularSampleIdentifier == null) { | ||
return new ResponseEntity<>(new ArrayList<GenePanelData>(), HttpStatus.OK); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simplified to ResponseEntity.ok(List.of())
Looks good left one comment and you just need to fix the conflicts. We have started updating the project structure and moved all the old code under a legacy folder. Let me know if you need help fixing the conflicts |
cd66b71
to
0e9a4cc
Compare
|
Fix #11252
Describe changes proposed in this pull request:
Gene panel queries can be empty if a study does not have gene panel data.