X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2Fgroovy%2FcolourUnconserved.groovy;h=2365c1e1c1ffe2bbf6beccc7c074faab8de13786;hb=HEAD;hp=68730f39325bf71d2a64f53dcb976f6b54636a65;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;p=jalview.git diff --git a/examples/groovy/colourUnconserved.groovy b/examples/groovy/colourUnconserved.groovy index 68730f3..2365c1e 100644 --- a/examples/groovy/colourUnconserved.groovy +++ b/examples/groovy/colourUnconserved.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 /* @@ -41,7 +42,7 @@ unconserved = { -> /* * to make a new instance for each alignment view */ - getInstance: { AnnotatedCollectionI coll, Map map -> unconserved() }, + getInstance: { view, coll -> unconserved() }, /* * method only needed if colour scheme has to recalculate