From: jprocter Date: Thu, 5 May 2011 13:40:20 +0000 (+0000) Subject: added simple stdout debug function X-Git-Tag: Release_2_7~197 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=245a1b805629bedf7a0d66aecb26de6bc220b991;p=jalview.git added simple stdout debug function --- 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