reactome / container

:construction: Repository for files for running a Reactome production-like environment inside a docker container. Currently, this project's status is "Work-In-Progress". :construction:
9 stars 4 forks source link

Get icon XML files. #49

Closed SolomonShorser-OICR closed 5 years ago

SolomonShorser-OICR commented 5 years ago

The Icon Library requires XML files to describe each icon. They are not available for download as a separate archive file. Need to find a way to get them into the Joomla container.

SolomonShorser-OICR commented 5 years ago

One option: write a script that extracts file names from the SVG source. Once a list of names is generated, it should be easy to download them sequentially. The XML file names usually match the <title> content of the SVG. Or at least they all match in the very small sample that I've inspected... might need to do a bit more research on this before implementing.

SolomonShorser-OICR commented 5 years ago

Done. See: https://github.com/reactome/container/blob/d76d9b207786398715f40eba271c0cea1c94f7db/solr/get_icon_xml_files.sh