AdamaJava / adamajava

Other
14 stars 5 forks source link

close writer #322

Closed ChristinaXu2017 closed 2 years ago

ChristinaXu2017 commented 2 years ago

Description

Just fix a bug: I forgot to close the file reader and writer at the end of the program, so it causes some outputs missing at sometimes. Here I put the writer and reader inside the try closure, make sure they are automatically closed at the end.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Run a real big dataset.

Are WDL Updates Required?

not required at this pull request

Checklist: