UAL-RE / ReBACH

Python-based tool to enable data preservation to a cloud-hosted storage solution
MIT License
2 stars 2 forks source link

Bug: number of articles fetched incorrectly counts articles that are not 'approved' #79

Closed zoidy closed 10 months ago

zoidy commented 10 months ago

Is there an existing issue for this?

Description of the bug

In the initial fetching of articles from the figshare API, the code appears to count articles that have not been published in the fetched article count (i.e., articles who's curation_status was not 'approved'). The count of article versions fetched appears to be correct. This means that when this issue appears, the total number of articles fetched is greater than the article versions fetched (this should never be the case)

Steps To Reproduce

Run app.py with no arguments to process all data on Figshare.