Skip to content

Commit 9142508

Browse files
dicknetherlandsandreasprlic
authored andcommitted
/* Writing a FASTA file (the easy way) */
1 parent fb8b5d0 commit 9142508

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

_wikis/BioJava3:HowTo.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ simpler for the most common use-cases.
176176

177177
` ThingParser`<FASTA>` parser = ThingParserFactory.`
178178
`   getWriteParser(FASTA.format, new File("/path/to/my/fasta.fa"), fasta);`
179-
` parser.parseAll();`
180-
` writer.close();`
179+
` parser.parseAll();`
181180

182181
### Writing a FASTA file (the hard way)
183182

_wikis/BioJava3:HowTo.mediawiki

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ Convenience wrapper classes are provided to make the parsing process simpler for
161161
ThingParser<FASTA> parser = ThingParserFactory.
162162
getWriteParser(FASTA.format, new File("/path/to/my/fasta.fa"), fasta);
163163
parser.parseAll();
164-
writer.close();
165164
166165
=== Writing a FASTA file (the hard way) ===
167166

0 commit comments

Comments
 (0)