X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=7e55e36c9bf99175ae7830f6296ba8e826fe1b69;hb=aeb173dd7daa4559e760548d955ee83aac6828d8;hp=d09c41d4b49fbcf4d0143fec5f373911363dbb50;hpb=f52f7b378972cc884b5d3e5cc250f89667f558f7;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index d09c41d..7e55e36 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -438,15 +438,17 @@ public interface AlignmentI extends AnnotatedCollectionI /** * search for or create a specific annotation row on the alignment - * - * @param method - CalcId for the annotation (must match) + * @param name name for annotation (must match) + * @param calcId calcId for the annotation (null or must match) * @param autoCalc - value of autocalc flag for the annotation * @param seqRef - null or specific sequence reference * @param groupRef - null or specific group reference + * @param method - CalcId for the annotation (must match) + * * @return existing annotation matching the given attributes */ - public AlignmentAnnotation findOrCreateAnnotation(String name, boolean autoCalc, - SequenceI seqRef, SequenceGroup groupRef); + public AlignmentAnnotation findOrCreateAnnotation(String name, String calcId, + boolean autoCalc, SequenceI seqRef, SequenceGroup groupRef); /** * move the given group up or down in the alignment by the given number of rows.