lsstdarkmatter / dark-matter-graph

Create dark matter graphics
https://lsstdarkmatter.github.io/dark-matter-graph/
MIT License
5 stars 2 forks source link

Using ADS to resolve references #36

Closed yymao closed 6 years ago

yymao commented 6 years ago

This PR fixes #35. Now the yaml-to-json conversion script connects to ADS to resolve references, so that on the web app first author + year is displayed.

Note that this inevitably slow down the conversion process. When developers are testing their edits in the yaml file, they can run data/prepare_data.py --no-ads to turn off this feature and speed things up. When they are happy with the yaml file, they should run data/prepare_data.py to resolve the references.