Merge branch 'update/JAL-3949_jalview_bin_Console_to_cure_sanity_even_more' into...
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 11 Feb 2022 17:27:42 +0000 (17:27 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 11 Feb 2022 17:27:42 +0000 (17:27 +0000)
1  2 
src/jalview/gui/StructureViewerBase.java

@@@ -47,6 -47,7 +47,7 @@@ import javax.swing.event.MenuListener
  
  import jalview.api.AlignmentViewPanel;
  import jalview.bin.Cache;
+ import jalview.bin.Console;
  import jalview.datamodel.AlignmentI;
  import jalview.datamodel.PDBEntry;
  import jalview.datamodel.SequenceI;
@@@ -814,7 -815,7 +815,7 @@@ public abstract class StructureViewerBa
        {
          sp.append("'" + alignPanel.getViewName() + "' ");
        }
-       Cache.log.info("Couldn't align structures with the " + sp.toString()
+       Console.info("Couldn't align structures with the " + sp.toString()
                + "associated alignment panels.", e);
      }
      return reply;
        } else {
            if (processingEntry.hasRetrievalUrl())
            {
 -            String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8");
 +            String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8").replace("%","__");
                       
              // retrieve from URL to new local tmpfile
              File tmpFile = File.createTempFile(safePDBId,