Skip to content

Commit

Permalink
Fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
raar1 committed Apr 30, 2021
1 parent aab7fcb commit 63eafe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nanopub/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ def _search(self, endpoint: str, params: dict):
def _parse_search_result(result: dict):
"""
Parse a nanopub search result (i.e. referring to one matching nanopublication).
Rename 'v' to 'description', select only date, np, label and description fields and unnest them.
Rename 'v' to 'description', select only date, np, label and description fields
and unnest them.
"""
parsed = dict()
parsed['np'] = result['np']['value']
Expand Down

0 comments on commit 63eafe9

Please sign in to comment.