JAL-629 removed debug prints. added .cif. added some comments/code-markers
[jalview.git] / src / jalview / ws / dbsources / EBIAlfaFold.java
index b3bcfd9..4ed28fc 100644 (file)
@@ -292,14 +292,8 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy
       if (ssm != null)
       {
         String structFile = isStructId ? ssm.findFileForPDBId(id) : id;
-        Console.debug("##### AHA! structFile = " + structFile);
-        Console.debug("##### structFile "
-                + (ssm.isPDBFileRegistered(structFile) ? "IS " : "is NOT ")
-                + "registered.");
 
         StructureMapping[] smArray = ssm.getMapping(structFile);
-        Console.debug("##### AHA! smArray obtained with " + smArray.length
-                + " elements");
 
         try
         {
@@ -368,24 +362,10 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy
           String seqId) throws IOException, ParseException
   {
     SequenceI sequence = null;
-    /* debugging */
-    SequenceI[] seqs = pdbAlignment.getSequencesArray();
-    if (seqs == null)
-      Console.debug("******* sequences is null");
-    else
-    {
-      for (int i = 0; i < seqs.length; i++)
-      {
-        SequenceI s = seqs[i];
-      }
-    }
-    /* end debug */
     if (seqId == null)
     {
       int seqToGet = index > 0 ? index : 0;
       sequence = pdbAlignment.getSequenceAt(seqToGet);
-      Console.debug("***** Got sequence at index " + seqToGet + ": "
-              + (sequence == null ? null : sequence.getName()));
     }
     if (sequence == null)
     {
@@ -406,7 +386,6 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy
     JSONObject paeDict = null;
     if (paeJson instanceof JSONObject)
     {
-      Console.debug("***** paeJson is a JSONObject");
       paeDict = (JSONObject) paeJson;
     }
     else if (paeJson instanceof JSONArray)
@@ -435,13 +414,10 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy
           throws IOException, ParseException
   {
     boolean someDone = false;
-    Console.debug("##### smArray.length=" + smArray.length);
     for (StructureMapping sm : smArray)
     {
-      Console.debug("##### sm[n]=" + sm.getPdbId());
       boolean thisDone = importPaeJSONAsContactMatrixToStructure(sm,
               paeInput);
-      Console.debug("##### thisDone = " + thisDone);
       someDone |= thisDone;
     }
     return someDone;