Skip to content

Commit

Permalink
Add Dataset ID to Create Dataset URL
Browse files Browse the repository at this point in the history
  • Loading branch information
skasberger committed Jul 15, 2020
1 parent b3cec7c commit 3b040ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyDataverse/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ def create_dataset_url(base_url, identifier, is_pid):
if is_pid:
url = "{0}/dataset.xhtml?persistentId={1}".format(base_url, identifier)
else:
url = "{0}/NOT-YET-IMPLEMENTED/{1}".format(base_url, identifier)
assert isinstance(url, str)
url = "{0}/dataset.xhtml?id{1}".format(base_url, identifier)
assert isinstance(url, str)
return url


Expand Down

0 comments on commit 3b040ff

Please sign in to comment.