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
JAL-3725 restrict mapped virtual feature location to mapped region
[jalview.git]
/
src
/
jalview
/
io
/
PhylipFile.java
diff --git
a/src/jalview/io/PhylipFile.java
b/src/jalview/io/PhylipFile.java
index
2a961a2
..
539826f
100644
(file)
--- a/
src/jalview/io/PhylipFile.java
+++ b/
src/jalview/io/PhylipFile.java
@@
-248,7
+248,7
@@
public class PhylipFile extends AlignFile
sb.append(" ");
// if there are no sequences, then define the number of characters as 0
sb.append(
sb.append(" ");
// if there are no sequences, then define the number of characters as 0
sb.append(
- (sqs.length > 0) ? Integer.toString(sqs[0].getSequence().length)
+(sqs.length > 0) ? Integer.toString(sqs[0].getLength())
: "0")
.append(newline);
: "0")
.append(newline);
@@
-280,13
+280,13
@@
public class PhylipFile extends AlignFile
// sequential has the entire sequence following the name
if (sequential)
{
// sequential has the entire sequence following the name
if (sequential)
{
- sb.append(s.getSequence());
+ sb.append(s.getSequenceAsString());
}
else
{
// Jalview ensures all sequences are of same length so no need
// to keep track of min/max length
}
else
{
// Jalview ensures all sequences are of same length so no need
// to keep track of min/max length
- sequenceLength = s.getSequence().length;
+ sequenceLength = s.getLength();
// interleaved breaks the sequence into chunks for
// interleavedColumns characters
sb.append(s.getSequence(0,
// interleaved breaks the sequence into chunks for
// interleavedColumns characters
sb.append(s.getSequence(0,