We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741db84 commit 74f5f32Copy full SHA for 74f5f32
1 file changed
dx_app/src/t-SNE.sh
@@ -289,7 +289,13 @@ main() {
289
fi
290
done
291
292
- # Turn the metadata entries into and array, then nest everything under the "properties" key
+ if [ ! -e "tmp_metadata.json" ]
293
+ then
294
+ echo "{\"error\": {\"type\": \"AppError\", \"message\": \"No reference samples passed filtering criteria.\"}}" > job_error.json
295
+ exit 1
296
+ fi
297
+
298
+ # Turn the metadata entries into an array, then nest everything under the "properties" key
299
jq --slurp "flatten" tmp_metadata.json | jq '[.[] | {"properties": .}]' > filtered_metadata.json
300
301
# Handle Dana Farber PDX samples
0 commit comments