neurogenomics / gpt_hpo_annotations

🏥🧑‍⚕️✨🤖✨👨‍⚕️🏥
https://neurogenomics.github.io/gpt_hpo_annotations/
GNU General Public License v3.0
1 stars 0 forks source link

Fix missing citation dates #9

Closed bschilder closed 4 months ago

bschilder commented 4 months ago

Think my citation importer isnt pulling in dates correctly: Screenshot 2024-05-13 at 15 01 43

bschilder commented 4 months ago

Seems to happen specifically with preprints (arXiv, bioRxiv, medRxiv). The bib entries for preprints don't have the year field by default (only date), or the journal field (only repository).

Fixed this through manually editing each one in the .bib file, but this is super tedious. In the future, need to find a way to treat preprints just like regular articles when generating the .bib file.

before

@article{
  caufieldStructuredPromptInterrogation2023,
  title={Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learning},
  url={http://arxiv.org/abs/2304.02711},
  DOI={10.48550/arXiv.2304.02711},
author={Caufield, J. Harry and Hegde, Harshad and Emonet, Vincent and Harris, Nomi L. and Joachimiak, Marcin P. and Matentzoglu, Nicolas and Kim, HyeongSik and Moxon, Sierra A. T. and Reese, Justin T. and Haendel, Melissa A. and et al.} }

after

@article{
  caufieldStructuredPromptInterrogation2023,
  title={Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learning},
  url={http://arxiv.org/abs/2304.02711},
  DOI={10.48550/arXiv.2304.02711},
  journal={arXiv},
  year={2023},
author={Caufield, J. Harry and Hegde, Harshad and Emonet, Vincent and Harris, Nomi L. and Joachimiak, Marcin P. and Matentzoglu, Nicolas and Kim, HyeongSik and Moxon, Sierra A. T. and Reese, Justin T. and Haendel, Melissa A. and et al.} }