File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -985,15 +985,15 @@ xiNET.Controller.prototype.setAnnotations = function(annotationChoice) {
985985 for ( m = 0 ; m < molCount ; m ++ ) {
986986 var mol = mols [ m ] ;
987987 for ( var a = 0 ; a < mol . annotations . length ; a ++ ) {
988- categories . add ( mol . annotations [ a ] . name ) ;
988+ categories . add ( mol . annotations [ a ] . description ) ;
989989 }
990990 }
991991 var catCount = categories . values ( ) . length ;
992992
993993 var colourScheme ; // = null;
994994 if ( catCount < 3 ) { catCount = 3 ; }
995995 //~ if (catCount < 21) {
996- if ( catCount < 6 ) {
996+ if ( catCount < 5 ) {
997997 //~ var reversed = colorbrewer.Accent[catCount].slice().reverse();
998998 //~ colourScheme = d3.scale.ordinal().range(reversed);
999999 colourScheme = d3 . scale . ordinal ( ) . range ( colorbrewer . Set1 [ 4 ] ) ;
You can’t perform that action at this time.
0 commit comments