From b08ebcf2c61dba73862440b91d367f97a46c4f65 Mon Sep 17 00:00:00 2001 From: Daniel Bolin Date: Thu, 22 Feb 2024 15:19:42 -0500 Subject: [PATCH] Fix azimuth model downloading --- containers/azimuth/context/download_reference_data.R | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/azimuth/context/download_reference_data.R b/containers/azimuth/context/download_reference_data.R index ee27eab..33dcc84 100644 --- a/containers/azimuth/context/download_reference_data.R +++ b/containers/azimuth/context/download_reference_data.R @@ -8,6 +8,7 @@ output_dir <- args[2] # Load unique reference organs metadata <- fromJSON(file = organ_metadata_file) +metadata <- metadata[sapply(metadata, is.list)] # Remove redirection links references <- unique(sapply(metadata, function(item) item$model)) # Download and install data