From 245a1b805629bedf7a0d66aecb26de6bc220b991 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 5 May 2011 13:40:20 +0000 Subject: [PATCH] added simple stdout debug function --- src/jalview/structure/StructureSelectionManager.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/jalview/structure/StructureSelectionManager.java b/src/jalview/structure/StructureSelectionManager.java index 492907b..502c68e 100644 --- a/src/jalview/structure/StructureSelectionManager.java +++ b/src/jalview/structure/StructureSelectionManager.java @@ -30,6 +30,21 @@ public class StructureSelectionManager StructureMapping[] mappings; + /** + * debug function - write all mappings to stdout + */ + public void reportMapping() { + if (mappings==null) + { + System.err.println("reportMapping: No PDB/Sequence mappings."); + }else{ + System.err.println("reportMapping: There are "+mappings.length+" mappings."); + for (int m=0;m