X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2Fgroovy%2FcolourConserved.groovy;fp=examples%2Fgroovy%2FcolourConserved.groovy;h=5fc2ad1fa212d1b51131cc5340701c49e3b1036c;hb=ca8504cf9d10874dce9f07cf7a9d933853fe0dd0;hp=4a1592227078625cfd9a2f89e95ed33a6fceec18;hpb=775e7bc104584e88dddcea73fbf02c66f5200c16;p=jalview.git diff --git a/examples/groovy/colourConserved.groovy b/examples/groovy/colourConserved.groovy index 4a15922..5fc2ad1 100644 --- a/examples/groovy/colourConserved.groovy +++ b/examples/groovy/colourConserved.groovy @@ -24,6 +24,7 @@ import jalview.schemes.ColourSchemes import jalview.datamodel.AnnotatedCollectionI import jalview.datamodel.SequenceI import jalview.datamodel.SequenceCollectionI +import jalview.api.AlignViewportI import jalview.util.Comparison /* @@ -42,7 +43,7 @@ conserved = { -> /* * to make a new instance for each alignment view */ - getInstance: { AnnotatedCollectionI coll, Map map -> conserved() }, + getInstance: { AlignViewportI view, AnnotatedCollectionI coll -> conserved() }, /* * method only needed if colour scheme has to recalculate