Skip to content

Commit

Permalink
fix zenodo title
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Aug 14, 2024
1 parent a1020fe commit c02f8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hakai_metadata_conversion/zenodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ def zenodo(record, language=None):

return {
"upload_type": 'dataset', #TODO Retrieve the right term in record
"title": record["identification"]["title"],
"title": record["identification"]["title"][language],
"creators": _get_creators(record),
"description": record["identification"]["abstract"][language],
# "access_right": record["access_right"],
"license": record["metadata"]["use_constraints"]['licence']['code'],
"license": record["metadata"]["use_constraints"].get('licence',{}).get('code'),
# embargo_date": record["embargo_date"],
# access_conditions": record["access_conditions"],
# "doi": record["doi"],
Expand Down

0 comments on commit c02f8c0

Please sign in to comment.