From e631f74319836d97bfc5da91dc3a7d3b5561154a Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 13 Feb 2024 18:01:53 +0300 Subject: Fetch extra metadata from text-files when fetching datasets. Signed-off-by: Munyoki Kilyungi --- gn3/db/datasets.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gn3') diff --git a/gn3/db/datasets.py b/gn3/db/datasets.py index 5501d92..6ec2126 100644 --- a/gn3/db/datasets.py +++ b/gn3/db/datasets.py @@ -346,6 +346,9 @@ def retrieve_dataset_metadata(name: str) -> dict: "notes": "gnt:hasNotes", "experiment-design": "gnt:hasExperimentDesignInfo", "acknowledgment": "gnt:hasAcknowledgement", + "citation": "dct:isReferencedBy", + "experiment-type": "gnt:hasExperimentType", + "contributors": "dct:creator", } for __file in Path(name).glob("*rtf"): with __file.open() as _f: -- cgit v1.2.3