Skip to content

Commit

Permalink
Add NSF ROR and Award URL when filling in result of NSF Award Lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-ide committed Nov 25, 2024
1 parent 767cc6d commit c7886ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webapp/views/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ def funding_award(filename=None, node_id=None, project_node_id=None):
try:
award_title = get_award_title(award_number)
form.award_title.data = award_title
form.award_url.data = f"https://www.nsf.gov/awardsearch/showAward?AWD_ID={award_number}"
form.funder_name.data = 'National Science Foundation (NSF)'
form.funder_identifier.data = 'https://ror.org/021nxhr62'

except requests.RequestException as e:
flash(e, 'error')
Expand Down

0 comments on commit c7886ff

Please sign in to comment.