mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
First attempt for obiconsensus... The graph traversing algorithm is too simple
Former-commit-id: 0456e6c7fd55d6d0fcf9856c40386b976b912cba
This commit is contained in:
1 parent
d5e84ec676
commit
a33e471b39
17 files changed
+868
-23
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package obiutils
|
||||
|
||||
import (
|
||||
"path"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func RemoveAllExt(p string) string {
|
||||
|
||||
for ext := path.Ext(p); len(ext) > 0; ext = path.Ext(p) {
|
||||
p = strings.TrimSuffix(p, ext)
|
||||
}
|
||||
|
||||
return p
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user