git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
EBI web service interface update (and SequenceFetcher bugfix)
[jalview.git]
/
src
/
jalview
/
analysis
/
Conservation.java
diff --git
a/src/jalview/analysis/Conservation.java
b/src/jalview/analysis/Conservation.java
index
0af0689
..
1342e93
100755
(executable)
--- a/
src/jalview/analysis/Conservation.java
+++ b/
src/jalview/analysis/Conservation.java
@@
-131,7
+131,7
@@
public class Conservation
seqNums.setElementAt(sqnum, i);
}
else
seqNums.setElementAt(sqnum, i);
}
else
- System.out.println("NEVER THE EXCEPTION");
+ System.out.println("SEQUENCE HAS BEEN DELETED!!!");
}
else
{
}
else
{
@@
-295,6
+295,12
@@
public class Conservation
Hashtable resultHash ;
Enumeration enumeration;
Hashtable resultHash ;
Enumeration enumeration;
+ //NOTE THIS SHOULD CHECK IF THE CONSEQUENCE ALREADY
+ //EXISTS AND NOT OVERWRITE WITH '-', BUT THIS CASE
+ //DOES NOT EXIST IN JALVIEW 2.1.2
+ for(int i=0; i<start; i++)
+ consString.append('-');
+
for (int i = start; i <= end; i++)
{
for (int i = start; i <= end; i++)
{
@@
-343,7
+349,7
@@
public class Conservation
}
else
{
}
else
{
- consString.append("-");
+ consString.append('-');
}
}
}
}