diff options
author | Munyoki Kilyungi | 2024-08-13 15:09:08 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-26 15:35:33 +0300 |
commit | f2d1d8d13aa1142fd49c5e61f96f3c24ec58ece7 (patch) | |
tree | 72cf5cc2b65e9d0fda38bd9db2d982bff90b743e /gn3/api | |
parent | a8e3a4fca46df0776b7efa1e82b1f44cc1a8938f (diff) | |
download | genenetwork3-f2d1d8d13aa1142fd49c5e61f96f3c24ec58ece7.tar.gz |
Run autopep8 against file.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/metadata.py | 6 |
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() ) |