-
Notifications
You must be signed in to change notification settings - Fork 4
Test2 #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test2 #60
Changes from 24 commits
b7c6a6c
241cd56
69f3a6e
17041d7
d937dbd
7d6afcf
9916a90
a040571
db96fe9
186e68c
aef0492
36a349b
ff8d20a
d426208
a80ea5a
ec5f1b3
c521bfe
57435f3
1613945
104f7cc
d6540c6
1ec63c0
b0a5573
43b7d37
9bb732d
98c3443
72405ac
e5df301
e56ccf1
9f06fc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -508,11 +508,11 @@ def validate_metadata(json_record): | |
| if creator["nameType"] == "Organizational": | ||
| if "name" not in creator: | ||
tmorrell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| errors.append("Each organizational 'creator' must have 'name'.") | ||
| else: | ||
| if "familyName" not in creator: | ||
| errors.append( | ||
| "Each 'creator' must have a 'familyName' or have type Organizational" | ||
| ) | ||
| else: | ||
|
||
| if "familyName" not in creator: | ||
| errors.append( | ||
| "Each 'creator' must have a 'familyName' or have type Organizational" | ||
| ) | ||
| if "affiliation" in creator: | ||
| if not isinstance(creator["affiliation"], list): | ||
| errors.append("'affiliation' in 'creators' should be a list.") | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.