Describe what kind of DOI is being returned

Co-authored-by: Philip Durbin <philipdurbin@gmail.com>
pull/1390/head
Yuvi Panda 2024-12-17 11:54:10 -08:00 zatwierdzone przez GitHub
rodzic 53fba84e18
commit f4d58dcd2f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -71,7 +71,7 @@ class Dataverse(DoiProvider):
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)