thegenemyers / DALIGNER

Find all significant local alignments between reads
Other
138 stars 61 forks source link

Fwrite/Fclose #67

Closed pb-cdunn closed 6 years ago

pb-cdunn commented 6 years ago

If there is an I/O error (e.g. out of disk-space), LAsort/LAmerge should fail.

While LAcheck would catch the problem later, it is better to fail quickly, rather than to continue writing fecklessly.

@thegenemyers , I know that this code belongs in DB.c, but I wanted to show the change clearly. We'll accept whatever you end up doing. (I'm actually working to sync our forks with your upstream repositories this week.)

pb-cdunn commented 6 years ago

Thanks, Gene.