Skip to content

Commit b91771f

Browse files
author
Luke Sikina
committed
toggle filesharing
1 parent 73f4c63 commit b91771f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

service/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/service/PicSureService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public ResponseEntity writeQueryResult(
264264
.status(400)
265265
.body("The query pic-sure ID is not a UUID");
266266
}
267-
if (query.getExpectedResultType() != ResultType.DATAFRAME_TIMESERIES) {
267+
if (!List.of(ResultType.DATAFRAME_TIMESERIES, ResultType.PATIENTS).contains(query.getExpectedResultType())) {
268268
return ResponseEntity
269269
.status(400)
270270
.body("The write endpoint only writes time series dataframes. Fix result type.");
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
SMALL_JOB_LIMIT = 100
22
SMALL_TASK_THREADS = 1
3-
LARGE_TASK_THREADS = 1
3+
LARGE_TASK_THREADS = 1
4+
enable_file_sharing=true

0 commit comments

Comments
 (0)