X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2Fgroovy%2FselectColumnsByFeatureAndGroup.groovy;fp=examples%2Fgroovy%2FselectColumnsByFeatureAndGroup.groovy;h=ea2c596c325f952e4b04104a1d02e4be402a9f3c;hb=89cb45bd28a34f30e807efe12552268e3b5628b8;hp=0a16391fa54f4c28d55ded4bb25d658f48a9dadd;hpb=bc12a8c2d3727216f12bbf9ffd49cd137d19ad9a;p=jalview.git diff --git a/examples/groovy/selectColumnsByFeatureAndGroup.groovy b/examples/groovy/selectColumnsByFeatureAndGroup.groovy index 0a16391..ea2c596 100644 --- a/examples/groovy/selectColumnsByFeatureAndGroup.groovy +++ b/examples/groovy/selectColumnsByFeatureAndGroup.groovy @@ -11,7 +11,7 @@ def nal=0; def nfeat=0; def nseq=0; -for (ala in Jalview.getAlignframes()) { +for (ala in Jalview.getAlignFrames()) { def al = ala.viewport.alignment; if (al!=null) { @@ -21,7 +21,7 @@ for (ala in Jalview.getAlignframes()) { { def tfeat=0; if (sq!=null) { - SequenceFeature[] sf = sq.getDatasetSequence().getSequenceFeatures(); + SequenceFeature[] sf = sq.getSequenceFeatures(); for (sfpos in sf) { if (sfpos!=null && sfpos.getType().equals(toselect))