Skip to content

Commit

Permalink
Fix authos labs attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jimenaRL committed Mar 20, 2024
1 parent b84fb94 commit 5faafd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions halexp/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,11 @@ def queryAuthors():

reponses = []
for r in res:

tmp = {
'position': r['rank'] + 1,
'name': r['author'].fullName,
'id-hal': r['author'].authIdHal,
'lab_id': r['author'].authLab,
'labs_id': r['author'].authLabs,
'aggregation score': r['rank_score'],
'signature': r['author'].authSciencesPoSignature,
'papers': [d.metadata for d in r['docs']]
Expand Down

0 comments on commit 5faafd0

Please sign in to comment.