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,
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.
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,