From: Jim Procter Date: Wed, 26 Nov 2014 14:41:50 +0000 (+0000) Subject: JAL-674 friendly name for PDB file included in secondary structure tooltip X-Git-Tag: Jalview_2_9~121^2~7^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6b5be9539790b6a84a9f5f73053f6713ffdba54a;p=jalview.git JAL-674 friendly name for PDB file included in secondary structure tooltip --- diff --git a/src/jalview/ext/jmol/PDBFileWithJmol.java b/src/jalview/ext/jmol/PDBFileWithJmol.java index 9fa6bf4..f5710d3 100644 --- a/src/jalview/ext/jmol/PDBFileWithJmol.java +++ b/src/jalview/ext/jmol/PDBFileWithJmol.java @@ -186,9 +186,12 @@ public class PDBFileWithJmol extends AlignFile implements seqs.add(sq); if (!isNa) { + String mt = model.getModelTitle() == null ? getDataName() + : model.getModelTitle(); + mt += _lastChainId; AlignmentAnnotation ann = new AlignmentAnnotation( "Secondary Structure", - "Secondary Structure from PDB File", asecstr); + "Secondary Structure for " + mt, asecstr); ann.belowAlignment=true; ann.visible=true; ann.autoCalculated=false;