mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
correct a bug in func (worker SeqWorker) ChainWorkers(next SeqWorker) SeqWorker
This commit is contained in:
1 parent
6d204f6281
commit
82b6bb1ab6
2 files changed
+2
-6
No files matched your search
@@ -194,11 +194,7 @@ func EvalAttributeWorker(expression map[string]string) obiseq.SeqWorker {
|
||||
w = nil
|
||||
|
||||
for a, e := range expression {
|
||||
if w == nil {
|
||||
w = obiseq.EditAttributeWorker(a, e)
|
||||
} else {
|
||||
w.ChainWorkers(obiseq.EditAttributeWorker(a, e))
|
||||
}
|
||||
w = w.ChainWorkers(obiseq.EditAttributeWorker(a, e))
|
||||
}
|
||||
|
||||
return w
|
||||
|
||||
Reference in new issue
Block a user