JAL-4386 PCA/Tree Calculation for Secondary Structures: Changes related to dropdown...
authorRenia Correya <rcorreya001@dundee.ac.uk>
Wed, 24 Apr 2024 14:26:35 +0000 (15:26 +0100)
committerRenia Correya <rcorreya001@dundee.ac.uk>
Wed, 24 Apr 2024 14:26:35 +0000 (15:26 +0100)
src/jalview/analysis/scoremodels/SimilarityParams.java
src/jalview/api/analysis/SimilarityParamsI.java

index 5c47703..2a25fa8 100644 (file)
@@ -103,6 +103,8 @@ public class SimilarityParams implements SimilarityParamsI
   private boolean includeGaps;
 
   private boolean denominateByShortestLength;
+  
+  private String secondaryStructureSource;
 
   /**
    * Constructor
@@ -200,4 +202,16 @@ public class SimilarityParams implements SimilarityParamsI
     }
     return true;
   }
+
+  @Override
+  public String getSecondaryStructureSource()
+  {
+    return secondaryStructureSource;
+  }
+
+  @Override
+  public void setSecondaryStructureSource(String secondaryStructureSource)
+  {
+    this.secondaryStructureSource = secondaryStructureSource;
+  }
 }
index 8d83a17..43f2866 100644 (file)
@@ -60,4 +60,8 @@ public interface SimilarityParamsI
    * @return
    */
   boolean denominateByShortestLength();
+  
+  String getSecondaryStructureSource();
+
+  void setSecondaryStructureSource(String secondaryStructureSource);
 }