Skip to content

Commit

Permalink
Merge pull request #2234 from opencb/TASK-3813
Browse files Browse the repository at this point in the history
TASK-3813 Fix gene coverage stats analysis when using CellBase data release
  • Loading branch information
jtarraga committed Jan 20, 2023
2 parents 67a5628 + cc7d22a commit d71f95b
Show file tree
Hide file tree
Showing 2 changed files with 338 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ public OpenCGAResult<GeneCoverageStats> coverageStats(String studyIdStr, String
// Get species and assembly from catalog
OpenCGAResult<Project> projectQueryResult = catalogManager.getProjectManager().search(
new Query(ProjectDBAdaptor.QueryParams.STUDY.key(), studyIdStr),
new QueryOptions(QueryOptions.INCLUDE, ProjectDBAdaptor.QueryParams.ORGANISM.key()), token);
new QueryOptions(QueryOptions.INCLUDE, Arrays.asList(ProjectDBAdaptor.QueryParams.ORGANISM.key(),
ProjectDBAdaptor.QueryParams.CELLBASE.key())), token);
if (projectQueryResult.getNumResults() != 1) {
throw new CatalogException("Error getting species and assembly from catalog");
}
Expand Down
Loading

0 comments on commit d71f95b

Please sign in to comment.