From 0f27e754d22479c16effe9f91c1dfa211337890f Mon Sep 17 00:00:00 2001 From: chaopower Date: Fri, 1 Mar 2024 09:22:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8E=E5=A4=A7=E6=95=B0=E6=8D=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/t7.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/t7.py b/tools/t7.py index fe14f2e..b954eea 100644 --- a/tools/t7.py +++ b/tools/t7.py @@ -349,9 +349,9 @@ class AutoLayout: if is_not_balance_list: base_balance = False - # 华大的文库不能超过限制的一半 + # 华大的文库不能超过限制的一半, 华大的数据就不能再加 use_huada = True - if self.chip_speciallib_huada_size[chipname] > self.data_limit / 2: + if (self.chip_speciallib_huada_size[chipname] > self.data_limit / 2) and ('华大' in classification): use_huada = False if sizelimit and notrepeatbarcode and exclusive_classific and exclusive_customer and splibrary and base_balance and spmethylibrary and use_huada: