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: