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:
743af46
)
JAL-2920 format/comment tidy
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 7 Jun 2018 08:58:41 +0000
(09:58 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Thu, 7 Jun 2018 08:58:41 +0000
(09:58 +0100)
test/jalview/ws/dbsources/UniprotTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/ws/dbsources/UniprotTest.java
b/test/jalview/ws/dbsources/UniprotTest.java
index
e927023
..
060c303
100644
(file)
--- a/
test/jalview/ws/dbsources/UniprotTest.java
+++ b/
test/jalview/ws/dbsources/UniprotTest.java
@@
-268,16
+268,14
@@
public class UniprotTest
vars.clear();
vars.add("KWE");
uf.setOriginal("KLS");
vars.clear();
vars.add("KWE");
uf.setOriginal("KLS");
- assertEquals(
- "p.LysLeuSer23LysTrpGlu Hello",
+ assertEquals("p.LysLeuSer23LysTrpGlu Hello",
Uniprot.getDescription(uf));
// adding a fourth original base switches to single letter code
uf.setOriginal("KLST");
Uniprot.getDescription(uf));
// adding a fourth original base switches to single letter code
uf.setOriginal("KLST");
- assertEquals("p.KLST23LysTrpGlu Hello",
- Uniprot.getDescription(uf));
+ assertEquals("p.KLST23LysTrpGlu Hello", Uniprot.getDescription(uf));
- // adding a fourth variant switches to a condensed representation
+ // adding a fourth variant switches to single letter code
vars.clear();
vars.add("KWES");
assertEquals("p.KLST23KWES Hello", Uniprot.getDescription(uf));
vars.clear();
vars.add("KWES");
assertEquals("p.KLST23KWES Hello", Uniprot.getDescription(uf));