aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-12-15 14:43:11 +0300
committerBonfaceKilz2023-12-15 14:49:26 +0300
commitc25cb87bea6c934790e17d15318cdf426157448a (patch)
treeeb7dedb7294d8a2ccd9bab73a25f04019f279b89
parent1beeb22018dd7dc68e2da3bc733a44fd5f5a385b (diff)
downloadgenenetwork3-c25cb87bea6c934790e17d15318cdf426157448a.tar.gz
First frame and then compact probeset results.
* gn3/api/metadata.py: Reshape the data in a nice way by first framing and compacting the json-ld result. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--gn3/api/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py
index 303c228..55ac7f1 100644
--- a/gn3/api/metadata.py
+++ b/gn3/api/metadata.py
@@ -956,7 +956,7 @@ CONSTRUCT {
},
"type": "gnc:Probeset",
}
- return query_and_compact(
+ return query_frame_and_compact(
_query, _context,
current_app.config.get("SPARQL_ENDPOINT")
)