Skip to content

Commit

Permalink
Merge tag 'more_for_3685' into develop
Browse files Browse the repository at this point in the history
More updates for patchy data
  • Loading branch information
Steven-Eardley committed Aug 18, 2023
2 parents f1b5f4a + 180432e commit 784f495
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions portality/scripts/applications_rejected_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def write_applications_data_to_file(year, record):
writer.writerow(["", "continued", index["continued"]])
writer.writerow(["", "has_editor_group", index["has_editor_group"]])
writer.writerow(["", "has_editor", index["has_editor"]])
writer.writerow(["", "issn", index["issn"]])
writer.writerow(["", "subject", index["subject"]])
writer.writerow(["", "issn", index.get("issn", '')])
writer.writerow(["", "subject", index.get("subject", '')])
if "schema_subject" in index:
writer.writerow(["", "schema_subject", index["schema_subject"]])
if "classification" in index:
Expand Down Expand Up @@ -195,7 +195,7 @@ def write_applications_data_to_file(year, record):
writer.writerow(["", "waiver-has_waiver", has_waiver])
if has_waiver:
writer.writerow(["", "waiver-url", bibjson["waiver"]["url"]])
writer.writerow(["", "keywords", bibjson["keywords"]])
writer.writerow(["", "keywords", bibjson.get("keywords", '')])
writer.writerow(["", "language", bibjson["language"]])
if "license" in bibjson:
for license_data in bibjson["license"]:
Expand Down

0 comments on commit 784f495

Please sign in to comment.