From 60e286513f967e2657cbb5a808a6008c8d4c2f3f Mon Sep 17 00:00:00 2001 From: Ryan Roussel Date: Thu, 31 Oct 2024 15:38:52 -0500 Subject: [PATCH 1/2] Update cnsga.py --- xopt/generators/ga/cnsga.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xopt/generators/ga/cnsga.py b/xopt/generators/ga/cnsga.py index 701ffac5..ce672db3 100644 --- a/xopt/generators/ga/cnsga.py +++ b/xopt/generators/ga/cnsga.py @@ -141,6 +141,7 @@ def write_population(self, filename=None): if filename is None: filename = f"{self.name}_population_{xopt.utils.isotime(include_microseconds=True)}.csv" filename = os.path.join(self.output_path, filename) + filename = filename.replace(":","_") self.population.to_csv(filename, index_label="xopt_index") From db5dfab8bf2bd105a055ea274ecf520d280da710 Mon Sep 17 00:00:00 2001 From: Ryan Roussel Date: Thu, 31 Oct 2024 15:44:04 -0500 Subject: [PATCH 2/2] Update cnsga.py --- xopt/generators/ga/cnsga.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xopt/generators/ga/cnsga.py b/xopt/generators/ga/cnsga.py index ce672db3..9ac41169 100644 --- a/xopt/generators/ga/cnsga.py +++ b/xopt/generators/ga/cnsga.py @@ -141,7 +141,7 @@ def write_population(self, filename=None): if filename is None: filename = f"{self.name}_population_{xopt.utils.isotime(include_microseconds=True)}.csv" filename = os.path.join(self.output_path, filename) - filename = filename.replace(":","_") + filename = filename.replace(":", "_") self.population.to_csv(filename, index_label="xopt_index")