We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b095776 commit 16b67f4Copy full SHA for 16b67f4
caltechdata_api/decustomize_schema.py
@@ -30,8 +30,8 @@ def decustomize_schema(
30
}
31
del json_record["doi"]
32
#Fail out if a DOI is not present
33
- else:
34
- raise ValueError(f'Error: Record does not have a DOI {json_record}')
+ #else:
+ # raise ValueError(f'Error: Record does not have a DOI {json_record}')
35
36
# Extract title
37
if "title" in json_record:
@@ -161,8 +161,8 @@ def decustomize_schema(
161
162
del json_record["publicationDate"]
163
164
165
- print("No publication date set - something is odd with the record ", doi)
+ # print("No publication date set - something is odd with the record ", doi)
166
167
# license - no url available
168
if "rightsList" not in json_record:
0 commit comments