From f4d58dcd2fee7a1d4e9976133b717d3cd61765db Mon Sep 17 00:00:00 2001 From: Yuvi Panda Date: Tue, 17 Dec 2024 11:54:10 -0800 Subject: [PATCH] Describe what kind of DOI is being returned Co-authored-by: Philip Durbin --- repo2docker/contentproviders/dataverse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo2docker/contentproviders/dataverse.py b/repo2docker/contentproviders/dataverse.py index fb050800..0d652c08 100644 --- a/repo2docker/contentproviders/dataverse.py +++ b/repo2docker/contentproviders/dataverse.py @@ -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)