From c3c2fd13cbad21be9dd6529f6bf749fd90bcf844 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 13 Nov 2024 16:00:22 +0000 Subject: [PATCH] JAL-4077 JAL-3921 TRACE level reporting of Jmol modelfilenames --- src/jalview/ext/jmol/JalviewJmolBinding.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 99d369e..a26892c 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -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) { -- 1.7.10.2