Skip to content

fix TagPileup tab-formatted output bug#42

Merged
WilliamKMLai merged 1 commit intomasterfrom
hotfix
Sep 15, 2020
Merged

fix TagPileup tab-formatted output bug#42
WilliamKMLai merged 1 commit intomasterfrom
hotfix

Conversation

@owlang
Copy link
Copy Markdown
Collaborator

@owlang owlang commented Sep 15, 2020

This commit fixes the bug described in issue #41. The problem was in
the case of setting the output to be tab formatted, the Writer
objects OUT_S1 and/or OUT_S2 failed to close.

I adjusted the "if" statements for outputting JTV files (whose code
fell under the same conditionals as the code responsible for closing
the output Writer objects) so that they are consistent with previous
conditions but included the case of PARAM.getOutputType()==1 for
closing the Writer objects.

This commit fixes the bug described in issue #41. The problem was in
the case of setting the output to be tab formatted, the Writer
objects OUT_S1 and/or OUT_S2 failed to close.

I adjusted the "if" statements for outputting JTV files (whose code
fell under the same conditionals as the code responsible for closing
the output Writer objects) so that they are consistent with previous
conditions but included the case of PARAM.getOutputType()==1 for
closing the Writer objects.
@WilliamKMLai WilliamKMLai merged commit 76b84cf into master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants