From 5e3e5b4ddbbd426dadbd610a9e044d88cd59fef7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 11 Sep 2023 13:05:40 -0400 Subject: [PATCH 1/2] Add Macaca nemestrina (user request) --- dandi/metadata.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dandi/metadata.py b/dandi/metadata.py index 7b55787a6..f2c00c3f5 100644 --- a/dandi/metadata.py +++ b/dandi/metadata.py @@ -471,6 +471,7 @@ def extract_cellLine(metadata: dict) -> Optional[str]: return None +# common_names, prefix, uri, name species_map = [ ( ["mouse"], @@ -532,6 +533,12 @@ def extract_cellLine(metadata: dict) -> Optional[str]: "http://purl.obolibrary.org/obo/NCBITaxon_6239", "Caenorhabditis elegans", ), + ( + ["simia nemestrina"], + None, + "http://purl.obolibrary.org/obo/NCBITaxon_9545", + "Macaca nemestrina", + ), ] From 81b4cfc77b9cc1e5fcaed2698107cb02b18cca69 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 11 Sep 2023 14:14:17 -0400 Subject: [PATCH 2/2] Replace with other alternatives Co-authored-by: Satrajit Ghosh --- dandi/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandi/metadata.py b/dandi/metadata.py index f2c00c3f5..e77bd524d 100644 --- a/dandi/metadata.py +++ b/dandi/metadata.py @@ -534,7 +534,7 @@ def extract_cellLine(metadata: dict) -> Optional[str]: "Caenorhabditis elegans", ), ( - ["simia nemestrina"], + ["pig-tailed macaque", "pigtail monkey", "pigtail macaque"], None, "http://purl.obolibrary.org/obo/NCBITaxon_9545", "Macaca nemestrina",