astrodbtoolkit / astrodbtoolkit/astrodb_utils
Add a _search_ads function case for when ADS cannot find doi for a publication
Open
Beginner friendly
- Dominant language
- Python
- Stars
- 0
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
The _search_ads function in publications.py crashes when ADS cannot find a doi code for a publication when only provided a bibcode or reference name.
Error when trying to ingest this publication:
[Faherty+2022]
https://ui.adsabs.harvard.edu/abs/2022BAAS...54e.224F/abstract
Source: WISE J124332.17+600126.6
Contributor guide
No contributing guide indexed for this repository
Research direction
Open publications.py and locate _search_ads. Reproduce the ingestion case using the cited ADS bibcode or reference name, then verify that a publication without a DOI is handled without the crash reported for Faherty+2022.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100