Merge branch 'develop' into feature/JAL-4386_calculate_tree_using_secondary_structure...
authorJim Procter <jprocter@dundee.ac.uk>
Thu, 25 Jul 2024 14:04:14 +0000 (15:04 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Thu, 25 Jul 2024 14:04:14 +0000 (15:04 +0100)
 Conflicts:
src/jalview/gui/AlignFrame.java
src/jalview/gui/CalculationChooser.java
src/jalview/viewmodel/AlignmentViewport.java

1  2 
resources/lang/Messages.properties
src/jalview/gui/AlignFrame.java
src/jalview/gui/CalculationChooser.java
src/jalview/gui/PCAPanel.java
src/jalview/project/Jalview2XML.java
src/jalview/viewmodel/AlignmentViewport.java

Simple merge
@@@ -73,6 -72,8 +73,7 @@@ import javax.swing.JLayeredPane
  import javax.swing.JMenu;
  import javax.swing.JMenuItem;
  import javax.swing.JPanel;
+ import javax.swing.JProgressBar;
 -import javax.swing.JRadioButtonMenuItem;
  import javax.swing.JScrollPane;
  import javax.swing.SwingUtilities;
  
@@@ -593,18 -669,19 +674,15 @@@ public class CalculationChooser extend
      return filtered;
    }
  
-   
    protected List<String> getApplicableSecondaryStructureSources()
    {
 -    AlignmentAnnotation[] annotations = af.getViewport().getAlignment()
 -            .getAlignmentAnnotation();
 -
 -    List<String> ssSources = AlignmentUtils
 -            .getSecondaryStructureSources(annotations);
 -    // List<String> ssSources =
 -    // AlignmentUtils.extractSSSourceInAlignmentAnnotation(annotations);
 -
 +    AlignmentAnnotation[] annotations = af.getViewport().getAlignment().getAlignmentAnnotation();
 +    
-     //List<String> ssSources = AlignmentUtils.getSecondaryStructureSources(annotations);
 +    List<String> ssSources = AlignmentUtils.extractSSSourceInAlignmentAnnotation(annotations);
-     
 +                 
      return ssSources;
    }
-   
    /**
     * Open and calculate the selected tree or PCA on 'OK'
     */
@@@ -32,10 -32,9 +32,11 @@@ import java.awt.print.PrinterException
  import java.awt.print.PrinterJob;
  
  import javax.swing.ButtonGroup;
 +import javax.swing.JLabel;
  import javax.swing.JMenuItem;
+ import javax.swing.JProgressBar;
  import javax.swing.JRadioButtonMenuItem;
 +import javax.swing.SwingConstants;
  import javax.swing.event.InternalFrameAdapter;
  import javax.swing.event.InternalFrameEvent;
  
Simple merge