Skip to content

Commit

Permalink
one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu committed Mar 20, 2024
1 parent ce4473a commit e30ca85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/neurolibre_celery_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def zenodo_create_buckets_task(self, payload):
for archive_type in payload['archive_assets']:
gh_template_respond(github_client,"started",payload['task_title'], payload['review_repository'],payload['issue_id'],task_id,payload['comment_id'], f"Creating Zenodo buckets for {archive_type}")
tmp = item_to_record_name(archive_type)
r = zenodo_create_bucket(f"({tmp}) {data['title']}",
r = zenodo_create_bucket(data['title'],
archive_type,
data['authors'],
payload['repository_url'],
Expand Down
2 changes: 1 addition & 1 deletion api/preprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def zenodo_create_bucket(title, archive_type, creators, repository_url, issue_id

data = {}
data["metadata"] = {}
data["metadata"]["title"] = title
data["metadata"]["title"] = f"({archive_type}) " + title
data["metadata"]["creators"] = creators
data["metadata"]["keywords"] = ["canadian-open-neuroscience-platform","neurolibre"]
# (A) NeuroLibre artifact is a part of (isPartOf) the NeuroLibre preprint (B 10.55458/NeuroLibre.issue_id)
Expand Down

0 comments on commit e30ca85

Please sign in to comment.