mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Patch a bug on writing to stdout, and add clearer error on openning data files
This commit is contained in:
1 parent
bdb96dda94
commit
31bfc88eb9
43 files changed
+1654
-696
No files matched your search
@@ -45,7 +45,8 @@ func WriteSequence(iterator obiiter.IBioSequence,
|
||||
|
||||
func WriteSequencesToStdout(iterator obiiter.IBioSequence,
|
||||
options ...WithOption) (obiiter.IBioSequence, error) {
|
||||
options = append(options, OptionDontCloseFile())
|
||||
// options = append(options, OptionDontCloseFile())
|
||||
options = append(options, OptionCloseFile())
|
||||
return WriteSequence(iterator, os.Stdout, options...)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user