Skip to content

Commit 11fae63

Browse files
committed
Fix bug for custom DOI registration
1 parent e98b6bf commit 11fae63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/customize_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def customize_schema_rdm(json_record):
252252

253253
if "identifiers" in json_record:
254254
identifiers = []
255-
system_pids = ["DOI", "oai"]
255+
system_pids = ["oai"]
256256
for identifier in json_record["identifiers"]:
257257
if identifier["identifierType"] not in system_pids:
258258
identifier["scheme"] = identifiertypes[identifier.pop("identifierType")]

0 commit comments

Comments
 (0)