Skip to content

Commit e365d58

Browse files
Issue 369: Additional fix for Author affiliations parsing (#377)
* Move IssueInfo.data initialization from __post_init_post_parse__ to _get_input_() * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix author-affiliation parsing --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1cf502a commit e365d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/collect-user-submission.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def _create_submission_input(self):
6060
authors.append(
6161
Author(
6262
name=item.get('name', 'anyonymous'),
63-
affiliation=item.get('affiliation'),
64-
affiliation_url=item.get('affiliation_url'),
63+
affiliation=item.get('institution'),
64+
affiliation_url=item.get('institution_url'),
6565
email=item.get('email', ''),
6666
)
6767
)

0 commit comments

Comments
 (0)