mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Fisrt functional version
This commit is contained in:
1 parent
9471fedfa1
commit
03f4e88a17
26 files changed
+908
-307
No files matched your search
@@ -147,10 +147,10 @@ func bioSequenceGetSetCount(luaState *lua.LState) int {
|
||||
func bioSequenceGetSetTaxid(luaState *lua.LState) int {
|
||||
s := checkBioSequence(luaState)
|
||||
if luaState.GetTop() == 2 {
|
||||
s.SetTaxid(luaState.CheckInt(2))
|
||||
s.SetTaxid(luaState.CheckString(2))
|
||||
return 0
|
||||
}
|
||||
luaState.Push(lua.LNumber(s.Taxid()))
|
||||
luaState.Push(lua.LString(s.Taxid()))
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user