diff options
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/datasets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/datasets.py b/gn3/db/datasets.py index b19db53..1d2f071 100644 --- a/gn3/db/datasets.py +++ b/gn3/db/datasets.py @@ -270,7 +270,7 @@ def sparql_query(query: str) -> List[Dict[str, Any]]: sparql = SPARQLWrapper(SPARQL_ENDPOINT) sparql.setQuery(query) sparql.setReturnFormat(JSON) - return sparql.queryAndConvert()['results']['bindings'] + return sparql.queryAndConvert()['results']['bindings'] # type: ignore def dataset_metadata(accession_id: str) -> Optional[Dict[str, Any]]: """Return info about dataset with ACCESSION_ID.""" |