Skip to content

Commit f5819c9

Browse files
committed
Remove reviewers from Zenodo metadata
1 parent 9229eb2 commit f5819c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

publish.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ def update_metadata(server, token, article_id, article):
8282
if len(article.editors) > 0:
8383
data['metadata']['contributors'].append(
8484
{'name': article.editors[0].name, 'type': 'Editor' } )
85-
if len(article.editors) > 0 and len(article.reviewers[0].name) > 0:
86-
data['metadata']['contributors'].append(
87-
{'name': article.reviewers[0].name, 'type': 'Other' } )
88-
if len(article.editors) > 1 and len(article.reviewers[1].name) > 0:
89-
data['metadata']['contributors'].append(
90-
{'name': article.reviewers[1].name, 'type': 'Other' } )
85+
# if len(article.editors) > 0 and len(article.reviewers[0].name) > 0:
86+
# data['metadata']['contributors'].append(
87+
# {'name': article.reviewers[0].name, 'type': 'Other' } )
88+
# if len(article.editors) > 1 and len(article.reviewers[1].name) > 0:
89+
# data['metadata']['contributors'].append(
90+
# {'name': article.reviewers[1].name, 'type': 'Other' } )
9191

9292

9393
response = requests.put(url, params={'access_token': token},

0 commit comments

Comments
 (0)