aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-13 15:09:08 +0300
committerBonfaceKilz2024-08-26 15:35:33 +0300
commitf2d1d8d13aa1142fd49c5e61f96f3c24ec58ece7 (patch)
tree72cf5cc2b65e9d0fda38bd9db2d982bff90b743e /gn3
parenta8e3a4fca46df0776b7efa1e82b1f44cc1a8938f (diff)
downloadgenenetwork3-f2d1d8d13aa1142fd49c5e61f96f3c24ec58ece7.tar.gz
Run autopep8 against file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3')
-rw-r--r--gn3/api/metadata.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 53daf67..8c900df 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -40,7 +40,7 @@ DATASET_CONTEXT = {
"classifiedUnder": "xkos:classifiedUnder",
"contributors": "dct:creator",
"contactPoint": "dcat:contactPoint",
- "created": "dct:created",
+ "created": "dct:created",
"dcat": "http://www.w3.org/ns/dcat#",
"dct": "http://purl.org/dc/terms/",
"description": "dct:description",
@@ -83,7 +83,7 @@ SEARCH_CONTEXT = {
DATASET_SEARCH_CONTEXT = SEARCH_CONTEXT | {
"classifiedUnder": "xkos:classifiedUnder",
- "created": "dct:created",
+ "created": "dct:created",
"dct": "http://purl.org/dc/terms/",
"ex": "http://example.org/stuff/1.0/",
"inbredSet": "ex:belongsToInbredSet",
@@ -210,7 +210,7 @@ CONSTRUCT {
(Path(
current_app.config.get("DATA_DIR")
) / "gn-docs/general/datasets" /
- Path(__result.get("id", "")).stem).as_posix()
+ Path(__result.get("id", "")).stem).as_posix()
)