git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df5bf8
)
JAL-674 friendly name for PDB file included in secondary structure tooltip
author
Jim Procter
<jprocter@dundee.ac.uk>
Wed, 26 Nov 2014 14:41:50 +0000
(14:41 +0000)
committer
Jim Procter
<jprocter@dundee.ac.uk>
Wed, 26 Nov 2014 14:41:50 +0000
(14:41 +0000)
src/jalview/ext/jmol/PDBFileWithJmol.java
patch
|
blob
|
history
diff --git
a/src/jalview/ext/jmol/PDBFileWithJmol.java
b/src/jalview/ext/jmol/PDBFileWithJmol.java
index
9fa6bf4
..
f5710d3
100644
(file)
--- 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;