File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ def validate_metadata(json_record):
508508 if creator ["nameType" ] == "Organizational" :
509509 if "name" not in creator :
510510 errors .append ("Each organizational 'creator' must have 'name'." )
511- #else:
511+ # else:
512512 # if "familyName" not in creator:
513513 # errors.append(
514514 # "Each 'creator' must have a 'familyName' or have type Organizational"
@@ -539,11 +539,11 @@ def validate_metadata(json_record):
539539 errors .append (
540540 "Each organizational 'contributor' must have 'name'."
541541 )
542- #else:
543- # if "familyName" not in contributor:
544- # errors.append(
545- # "Each 'contributor' must have a 'familyName' or have type Organizational"
546- # )
542+ # else:
543+ # if "familyName" not in contributor:
544+ # errors.append(
545+ # "Each 'contributor' must have a 'familyName' or have type Organizational"
546+ # )
547547 if "affiliation" in contributor :
548548 if not isinstance (contributor ["affiliation" ], list ):
549549 errors .append (
You can’t perform that action at this time.
0 commit comments