Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNSGA Output Filenames #252

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

electronsandstuff
Copy link
Contributor

This PR includes the following two changes proposed to allow users on Windows to run the CNSGA generator with file output.

  • CNSGAGenerator.write_offspring has been updated to avoid the colon character in filenames similarly to write_population in Update cnsga.py #251
  • The string replacement for colon characters in filenames has been moved to only apply to the timestamp. This avoids causing problems when self.output_path looks like "C:\Users\yourname\project\dir"

@roussel-ryan roussel-ryan merged commit 6de78a7 into xopt-org:main Nov 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants