JAL-4077 JAL-3921 TRACE level reporting of Jmol modelfilenames
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 13 Nov 2024 16:00:22 +0000 (16:00 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 13 Nov 2024 16:06:03 +0000 (16:06 +0000)
src/jalview/ext/jmol/JalviewJmolBinding.java

index 99d369e..a26892c 100644 (file)
@@ -714,6 +714,15 @@ public abstract class JalviewJmolBinding extends AAStructureBindingModel
       // Jmol is still loading files!
       return;
     }
+    if (jalview.bin.Console.isTraceEnabled())
+    {
+      jalview.bin.Console.trace("New structures loaded in Jmol:");
+      int i=1;
+      for (String mfn: modelfilenames)
+      {
+        jalview.bin.Console.trace(i++ +" "+((mfn==null) ? "NULL" : mfn));
+      }
+    }
     // first check if we've lost any structures
     if (oldmodels != null && oldmodels.length > 0)
     {