adds a directory option to obidistribute

This commit is contained in:
2023-02-17 22:52:53 +01:00
parent 9554a32490
commit d04eb915b3
6 changed files with 136 additions and 16 deletions

View File

@@ -89,8 +89,6 @@ func WriteFasta(iterator obiiter.IBioSequence,
}
close(chunkchan)
waitWriter.Wait()
obiiter.UnregisterPipe()
log.Debugln("End of the fasta file writing")
}()
ff := func(iterator obiiter.IBioSequence) {
@@ -143,6 +141,9 @@ func WriteFasta(iterator obiiter.IBioSequence,
file.Close()
}
}
log.Debugln("End of the fasta file writing")
obiiter.UnregisterPipe()
waitWriter.Done()
}()