biasmv / pv

WebGL protein viewer
https://pv.readthedocs.org
MIT License
316 stars 85 forks source link

colorOne is undefined #87

Closed rlowe55 closed 9 years ago

rlowe55 commented 9 years ago

Hi, for some molecules - example 2LYZ - I get this error - 'colorOne is undefined' - when switching to chain coloring my code is: viewer.forEach(function(go) { go.colorBy(color.byChain(), proteinStructure); }); where proteinStructure is defined as: proteinStructure = structure.select("protein");

the error is not critical - but I am seeing it the logs thanks,

biasmv commented 9 years ago

Hi Rob,

thanks for the report. Would it be possible to also share the code you use to generate "go"? I've tried all rendering modes and couldn't get the "colorOne is undefined" reproduced.

Best, Marco