dalejn / cleanBib

Probabilistically assign gender and race proportions of first/last authors pairs in bibliography entries
MIT License
149 stars 31 forks source link

Lack of automatic removal of unused citations from .aux file #57

Closed jtaube closed 2 days ago

jtaube commented 2 weeks ago

Hello, thank you so much for creating this tool!

It works great for me on a .bib file but now I'm trying to use it with both a .bib and .aux file where the .bib file contains some unused references. The unused refs are printing in Step 2, but based on the Changelog 2/17/2020 entry I thought these unused references would automatically be removed from the .bib file and not be included in cleanedBib.csv? Instead, I still see a list of all my .bib file entries as output of get_names(). Have I misunderstood and the unused references need to be removed manually? Or could you direct me to where in the code this removal is occurring?

Let me know if you need the files to reproduce the output. Thank you!

dalejn commented 2 weeks ago

Hi, thanks for trying out this tool and for carefully checking the expected outputs! Yes please do attach the files to reproduce this here or send to dalejn@gmail.com and I'll take a look

dalejn commented 2 days ago

Patched in https://github.com/dalejn/cleanBib/commit/24b937ab4eafb67d605093a26e4a0988ccde39a2