diff options
author | Munyoki Kilyungi | 2024-02-13 18:01:53 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-02-13 18:03:07 +0300 |
commit | e631f74319836d97bfc5da91dc3a7d3b5561154a (patch) | |
tree | dd0f5cd3c365a83674fcab82d4969ccacd77ed34 | |
parent | 27e3f6573f012e911daafae73935b4f01a9152fa (diff) | |
download | genenetwork3-e631f74319836d97bfc5da91dc3a7d3b5561154a.tar.gz |
Fetch extra metadata from text-files when fetching datasets.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | gn3/db/datasets.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |