Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of BibTeX entries vulnerable to lack of quoted fields #49

Open
matthewfeickert opened this issue Feb 5, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@matthewfeickert
Copy link
Member

In 14d234f something happened with the references that broke the formatting for the README. All the papers added

% January 28, 2021
@misc{gonzalez2021tackling,
title={Tackling the muon identification in water Cherenkov detectors problem for the future Southern Wide-field Gamma-ray Observatory by means of Machine Learning},
author={B. S. Gonz\'{a}lez and R. Concei\c{c}\~{a}o and M. Pimenta and B. Tom\'{e} and A. Guill\'{e}n},
year={2021},
eprint={2101.11924},
archivePrefix={arXiv},
primaryClass={physics.ins-det}
}
@misc{goto2021development,
title={Development of a Vertex Finding Algorithm using Recurrent Neural Network},
author={Kiichi Goto and Taikan Suehara and Tamaki Yoshioka and Masakazu Kurata and Hajime Nagahara and Yuta Nakashima and Noriko Takemura and Masako Iwasaki},
year={2021},
eprint={2101.11906},
archivePrefix={arXiv},
primaryClass={physics.data-an}
}
% January 27, 2021
@misc{abbasi2021convolutional,
title={A Convolutional Neural Network based Cascade Reconstruction for the IceCube Neutrino Observatory},
author={R. Abbasi and others},
collaboration="IceCube",
year={2021},
eprint={2101.11589},
archivePrefix={arXiv},
primaryClass={hep-ex}
}
% January 25, 2021
@misc{huang2021convolutionalneuralnetwork,
title={A convolutional-neural-network estimator of CMB constraints on dark matter energy injection},
author={Wei-Chih Huang and Jui-Lin Kuo and Yue-Lin Sming Tsai},
year={2021},
eprint={2101.10360},
archivePrefix={arXiv},
primaryClass={astro-ph.CO}
}

result in having a { prefixing them in the README build

Something has apparently gone wrong in the parsing in make_md.py. I haven't looked into what yet, but it might be related to this update being the first in which the reference aliases don't contain a : — which I think is the new way arXiv is doing things.

@matthewfeickert matthewfeickert added the bug Something isn't working label Feb 5, 2021
@matthewfeickert matthewfeickert changed the title Formatting for paper names in README is including { Parsing of BibTeX entries vulnerable to lack of quoted fields Feb 5, 2021
@matthewfeickert
Copy link
Member Author

From PR #50, it is seen that the parsing in make_md.py need to be able to properly parse fields if they are quoted

@article{Howard:2021pos,
author = "Howard, Jessica N. and Mandt, Stephan and Whiteson, Daniel and Yang, Yibo",
title = "{Foundations of a Fast, Data-Driven, Machine-Learned Simulator}",
eprint = "2101.08944",
archivePrefix = "arXiv",
primaryClass = "hep-ph",
month = "1",
year = "2021"
}

or in brackets

@misc{gonzalez2021tackling,
title={Tackling the muon identification in water Cherenkov detectors problem for the future Southern Wide-field Gamma-ray Observatory by means of Machine Learning},
author={B. S. Gonz\'{a}lez and R. Concei\c{c}\~{a}o and M. Pimenta and B. Tom\'{e} and A. Guill\'{e}n},
year={2021},
eprint={2101.11924},
archivePrefix={arXiv},
primaryClass={physics.ins-det}
}

Being able to achieve this should make the parsing much more robust against changes in BibTeX formatting style from arXiv.

matthewfeickert added a commit that referenced this issue Feb 5, 2021
* Apply quotes around BibTeX 'title' and 'eprint' BibTeX fields to allow for proper parsing
   - Temporary fix 
   - c.f. #49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant