Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04 AS builder
FROM ubuntu:24.04 AS builder

RUN apt-get update \
&& apt-get upgrade -y \
Expand Down
9 changes: 7 additions & 2 deletions dx_app/src/t-SNE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ main() {
# Lookup normalized long disease name by disease code
disease_name=$(get_disease_name_for_disease "$disease_code" "$all_colors")

category=$(get_category "$j")
if [[ "$category" == "Hematologic Malignancy" ]]
then
category="Blood Cancer"
Expand All @@ -290,7 +289,13 @@ main() {
fi
done

# Turn the metadata entries into and array, then nest everything under the "properties" key
if [ ! -e "tmp_metadata.json" ]
then
echo "{\"error\": {\"type\": \"AppError\", \"message\": \"No reference samples passed filtering criteria.\"}}" > job_error.json
exit 1
fi

# Turn the metadata entries into an array, then nest everything under the "properties" key
jq --slurp "flatten" tmp_metadata.json | jq '[.[] | {"properties": .}]' > filtered_metadata.json

# Handle Dana Farber PDX samples
Expand Down
Loading