Skip to content

Commit

Permalink
Update cnsga.py
Browse files Browse the repository at this point in the history
  • Loading branch information
roussel-ryan committed Oct 31, 2024
1 parent 60e2865 commit db5dfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xopt/generators/ga/cnsga.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit db5dfab

Please sign in to comment.