diff --git a/service/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/service/PicSureService.java b/service/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/service/PicSureService.java index 6053fb56..28baf105 100644 --- a/service/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/service/PicSureService.java +++ b/service/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/service/PicSureService.java @@ -303,6 +303,7 @@ public Response writeQueryResult( // at least for now, this is going to block until we finish writing // Not very restful, but it will make this API very easy to consume boolean success = false; + query.setId(hpdsQueryID); if ("phenotypic".equals(datatype)) { success = fileSystemService.createPhenotypicData(query); } else if ("genomic".equals(datatype)) {