From db5dfab8bf2bd105a055ea274ecf520d280da710 Mon Sep 17 00:00:00 2001 From: Ryan Roussel Date: Thu, 31 Oct 2024 15:44:04 -0500 Subject: [PATCH] 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")