Skip to content

Commit

Permalink
minor changes in 'ml/config', 'ml/mlflow_tracker'
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna Imshenetska authored and Hanna Imshenetska committed Nov 29, 2024
1 parent 271e721 commit a690c6d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/syngen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.52rc37
0.9.52rc38
5 changes: 4 additions & 1 deletion src/syngen/ml/config/configurations.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from dataclasses import dataclass, field
from typing import Optional, Dict, Tuple, Set, List, Callable, Literal
import os
from copy import deepcopy
import shutil
from datetime import datetime

Expand Down Expand Up @@ -89,7 +90,9 @@ def _check_sample_report(self):
"The generation of the sample report is unnecessary and won't be produced "
"as the source data and sampled data sizes are identical"
)
self.reports.remove("sample")
reports = deepcopy(self.reports)
reports.remove("sample")
self.reports = reports

def _check_reports(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion src/syngen/ml/mlflow_tracker/mlflow_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def log_metrics(

def search_runs(self, table_name: str, type_of_process: str):
"""
Get the list of runs related the certain experment
Get the list of runs related the certain experiment
"""
if self.is_active:
run = mlflow.search_runs(
Expand Down

0 comments on commit a690c6d

Please sign in to comment.