fix savee

main
ifiguero 2025-03-14 01:43:30 -03:00
parent 08a87e1605
commit 65dce3a158
1 changed files with 0 additions and 2 deletions

View File

@ -92,8 +92,6 @@ class eNoseTrainer:
def wrap_and_save(self):
self.logger.info("{:=^60}".format(' Saving Summary and Wrap the output in a ZipFile '))
with pd.ExcelWriter('{}/Summary.xlsx'.format(self.name) , engine='xlsxwriter') as xls:
self.get_best_models().to_excel(xls, sheet_name='Results')
with zipfile.ZipFile('{}-{}.zip'.format(self.name, self.start), 'w', zipfile.ZIP_DEFLATED) as zipf:
for root, dirs, files in os.walk(self.name):