Skip to content

Commit

Permalink
catalog: add missing includes for migration, #TASK-5662
Browse files Browse the repository at this point in the history
  • Loading branch information
pfurio committed Oct 29, 2024
1 parent 164b91b commit 3d44dc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ public void associateAlignmentFiles(long studyUid) throws CatalogException {
Query query = new Query()
.append(QueryParams.STUDY_UID.key(), studyUid)
.append(QueryParams.FORMAT.key(), Arrays.asList(File.Format.BAM, File.Format.CRAM));
QueryOptions options = new QueryOptions(QueryOptions.INCLUDE, Arrays.asList(QueryParams.PATH.key(), QueryParams.FORMAT.key(),
QueryParams.RELATED_FILES.key(), QueryParams.INTERNAL.key()));
QueryOptions options = new QueryOptions(QueryOptions.INCLUDE, Arrays.asList(QueryParams.UID.key(), QueryParams.PATH.key(),
QueryParams.FORMAT.key(), QueryParams.RELATED_FILES.key(), QueryParams.INTERNAL.key(), QueryParams.STUDY_UID.key()));

try (DBIterator<File> iterator = iterator(query, options)) {
while (iterator.hasNext()) {
Expand Down

0 comments on commit 3d44dc0

Please sign in to comment.