From 94cd57c28fc36e845281ade7f081cd5ad2a78b59 Mon Sep 17 00:00:00 2001 From: Kuoi Date: Tue, 10 Oct 2023 01:29:47 +0800 Subject: [PATCH] fix: ntax is not 0 after tnt input --- guoyi.run | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/guoyi.run b/guoyi.run index 83a19f6..b3aaac3 100644 --- a/guoyi.run +++ b/guoyi.run @@ -163,21 +163,6 @@ else set dostr 1; end end -/*handle search*/ -if (ntax<=25) - if ('doeiw') - set search 2; - else - set search 1; - end -else - if (ntax<75) - set search 2; - else - set search 3; - end -end - /*Basic settings*/ taxname+1000; taxname=; @@ -198,6 +183,21 @@ end procedure %1; hold 10000; +/*handle search*/ +if (ntax<=24) /*taxa lower than 25 (including 25)*/ + if ('doeiw') + set search 2; + else + set search 1; + end +else + if (ntax<74) /*taxa lower than 75 do mult*/ + set search 2; + else + set search 3; + end +end + /*Report what will be done*/ quote /-----------------------------------------------\;