Skip to content

Commit 368b317

Browse files
committed
Fix authors identifiers
1 parent a960a67 commit 368b317

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

caltechdata_api/caltechdata_edit.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,11 @@ def caltechdata_edit(
224224
metadata["pids"] = pids
225225
data = customize_schema.customize_schema(metadata, schema=schema)
226226
else:
227+
# Authors, force oai PID
228+
metadata["pids"]["oai"] = {
229+
"identifier": f"oai:authors.library.caltech.edu:{idv}",
230+
"provider": "oai",
231+
}
227232
data = metadata
228233

229234
if files:

0 commit comments

Comments
 (0)