salilab / pmi

Python Modeling Interface
https://integrativemodeling.org/nightly/doc/ref/namespaceIMP_1_1pmi.html
12 stars 11 forks source link

Support hex colors in TopologyReader #249

Closed benmwebb closed 5 years ago

benmwebb commented 5 years ago

TopologyReader allows assigning each component a color. According to the docs these colors can be "chimera names or R,G,B values", i.e. "red" or "1.0, 0.0, 0.0". It would be straightforward to also support commonly-used hex colors here, e.g. "#ff0000".