From 98a277d5e5bd7a034b2acbc4d28544210ada392e Mon Sep 17 00:00:00 2001 From: Renia Correya Date: Wed, 24 Apr 2024 15:26:35 +0100 Subject: [PATCH] JAL-4386 PCA/Tree Calculation for Secondary Structures: Changes related to dropdown in Calculate window. --- src/jalview/analysis/scoremodels/SimilarityParams.java | 14 ++++++++++++++ src/jalview/api/analysis/SimilarityParamsI.java | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/src/jalview/analysis/scoremodels/SimilarityParams.java b/src/jalview/analysis/scoremodels/SimilarityParams.java index 5c47703..2a25fa8 100644 --- a/src/jalview/analysis/scoremodels/SimilarityParams.java +++ b/src/jalview/analysis/scoremodels/SimilarityParams.java @@ -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; + } } diff --git a/src/jalview/api/analysis/SimilarityParamsI.java b/src/jalview/api/analysis/SimilarityParamsI.java index 8d83a17..43f2866 100644 --- a/src/jalview/api/analysis/SimilarityParamsI.java +++ b/src/jalview/api/analysis/SimilarityParamsI.java @@ -60,4 +60,8 @@ public interface SimilarityParamsI * @return */ boolean denominateByShortestLength(); + + String getSecondaryStructureSource(); + + void setSecondaryStructureSource(String secondaryStructureSource); } -- 1.7.10.2