Skip to content

Commit a3c8940

Browse files
Rhollandandreasprlic
authored andcommitted
/* Parsing a FASTA file (the easy way) */
1 parent fcdde48 commit a3c8940

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

wiki/BioJava3:HowTo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ simpler for the most common use-cases.
149149
` while (parser.hasNext()) {`
150150
`   FASTA fasta = parser.next(); `
151151
`   // fasta contains a complete FASTA record.`
152-
` }`
152+
` }`
153+
` parser.close();`
153154

154155
### Parsing a FASTA file (the hard way)
155156

wiki/BioJava3:HowTo.mediawiki

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Convenience wrapper classes are provided to make the parsing process simpler for
134134
FASTA fasta = parser.next();
135135
// fasta contains a complete FASTA record.
136136
}
137+
parser.close();
137138
138139
=== Parsing a FASTA file (the hard way) ===
139140

0 commit comments

Comments
 (0)