chaopower 2024-06-15 12:12:49 +08:00
parent 86cfb0e582
commit bba0aec2f4
1 changed files with 4 additions and 1 deletions

View File

@ -771,7 +771,10 @@ class AutoLayout:
no_assign_df = pd.DataFrame(self.no_assign_data)
no_assign_df = no_assign_df.applymap(lambda x: format_date(x) if isinstance(x, pd.Timestamp) else x)
if not no_assign_df.empty:
no_assign_df_not_balance = ','.join(set([lib for lib in no_assign_df['#library'] if lib in self.split_lib]))
else:
no_assign_df_not_balance = ''
if no_assign_df_not_balance:
self.return_log.append(f'文库{no_assign_df_not_balance}有做不平衡文库拆分处理,并且没有排完,请核查!')
if not no_assign_df.empty: