Skip to content

Commit 8210484

Browse files
committed
now also accepting old header line
1 parent e1dbb04 commit 8210484

File tree

1 file changed

+2
-1
lines changed
  • biojava-modfinder/src/main/java/org/biojava/nbio/phosphosite

1 file changed

+2
-1
lines changed

biojava-modfinder/src/main/java/org/biojava/nbio/phosphosite/Site.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public static List<Site> parseSites(File f) throws IOException {
6565

6666

6767
while ((line = buf.readLine()) != null){
68-
if ( line.startsWith("GENE")) {
68+
if ( line.startsWith("GENE") ||
69+
line.startsWith("PROTEIN")) {
6970

7071
headerFields = parseHeaderFields(line);
7172

0 commit comments

Comments
 (0)