mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 09:24:41 +00:00
Add some code refactoring from the blackboard branch
This commit is contained in:
1 parent
bc1aaaf7d9
commit
1b1cd41fd3
38 files changed
+491
-330
No files matched your search
@@ -45,17 +45,18 @@ func main() {
|
||||
|
||||
nvariant, nread, nsymbol := fs.Count(true)
|
||||
|
||||
fmt.Print("entites,n\n")
|
||||
|
||||
if obicount.CLIIsPrintingVariantCount() {
|
||||
fmt.Printf(" %d", nvariant)
|
||||
fmt.Printf("variants,%d\n", nvariant)
|
||||
}
|
||||
|
||||
if obicount.CLIIsPrintingReadCount() {
|
||||
fmt.Printf(" %d", nread)
|
||||
fmt.Printf("reads,%d\n", nread)
|
||||
}
|
||||
|
||||
if obicount.CLIIsPrintingSymbolCount() {
|
||||
fmt.Printf(" %d", nsymbol)
|
||||
fmt.Printf("symbols,%d\n", nsymbol)
|
||||
}
|
||||
|
||||
fmt.Printf("\n")
|
||||
}
|
||||
Reference in new issue
Block a user