Skip to content

Commit

Permalink
Describe what kind of DOI is being returned
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Durbin <[email protected]>
  • Loading branch information
yuvipanda and pdurbin authored Dec 17, 2024
1 parent 53fba84 commit f4d58dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo2docker/contentproviders/dataverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def detect(self, spec, ref=None, extra_args=None):

def get_dataset_id_from_file_id(self, base_url: str, file_id: str) -> str:
"""
Return the persistent_id (DOI) that a given file_id (int or doi) belongs to
Return the persistent_id (DOI) of a dataset that a given file_id (int or doi) belongs to
"""
if file_id.isdigit():
# the file_id is an integer, rather than a persistent id (DOI)
Expand Down

0 comments on commit f4d58dc

Please sign in to comment.