sequence.setStart(absStart);\r
sequence.setEnd(absEnd);\r
\r
- if ( (absStart != sequence.getStart()) || (absEnd != sequence.getEnd()))\r
- {\r
- sbuffer.append("Updated: " + sequence.getName() + " " +\r
- sequence.getStart() + "/" + sequence.getEnd() +\r
- " to " + absStart + "/" + absEnd + "\n");\r
- }\r
-\r
-\r
\r
int n = 0;\r
SequenceI seq2;\r
absStart = sequence.getSequence().indexOf(nonGapped);\r
absEnd = absStart + nonGapped.toString().length() - 1;\r
\r
- sbuffer.append("Updated: VISUAL " + seq2.getName() + " " +\r
- seq2.getStart() + "/" + seq2.getEnd() +\r
- " to " + (absStart + sequence.getStart()) + "/" +\r
-\r
- (absEnd + sequence.getStart()) + "\n");\r
-\r
- seq2.setStart(absStart + sequence.getStart());\r
- seq2.setEnd(absEnd + sequence.getStart());\r
+ // This is the Viewd alignment sequences\r
+ // No need to tell the user of the dataset updates\r
+ if ( (seq2.getStart() != absStart+sequence.getStart())\r
+ || (seq2.getEnd() != absEnd+sequence.getStart()))\r
+ {\r
+ sbuffer.append("Updated: " + seq2.getName() + " " +\r
+ seq2.getStart() + "/" + seq2.getEnd() +\r
+ " to " + (absStart + sequence.getStart()) + "/" +\r
+ (absEnd + sequence.getStart()) + "\n");\r
\r
+ seq2.setStart(absStart + sequence.getStart());\r
+ seq2.setEnd(absEnd + sequence.getStart());\r
+ }\r
}\r
\r
n++;\r