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-2089 patch broken merge to master for Release 2.10.0b1
[jalview.git]
/
src
/
jalview
/
io
/
PIRFile.java
diff --git
a/src/jalview/io/PIRFile.java
b/src/jalview/io/PIRFile.java
index
449a3c2
..
5f5c23c
100755
(executable)
--- a/
src/jalview/io/PIRFile.java
+++ b/
src/jalview/io/PIRFile.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-46,6
+46,7
@@
public class PIRFile extends AlignFile
super(source);
}
super(source);
}
+ @Override
public void parse() throws IOException
{
StringBuffer sequence;
public void parse() throws IOException
{
StringBuffer sequence;
@@
-100,6
+101,7
@@
public class PIRFile extends AlignFile
}
}
}
}
+ @Override
public String print()
{
return print(getSeqsAsArray());
public String print()
{
return print(getSeqsAsArray());
@@
-174,7
+176,8
@@
public class PIRFile extends AlignFile
}
}
}
}
}
}
- int nochunks = (seq.length() / len) + 1;
+ int nochunks = (seq.length() / len)
+ + (seq.length() % len > 0 ? 1 : 0);
for (int j = 0; j < nochunks; j++)
{
for (int j = 0; j < nochunks; j++)
{