Skip to content

Fix bug in windows file path#1085

Merged
jlnav merged 1 commit intoLibensemble:developfrom
AngelFP:bug/fix_windows_path
Sep 15, 2023
Merged

Fix bug in windows file path#1085
jlnav merged 1 commit intoLibensemble:developfrom
AngelFP:bug/fix_windows_path

Conversation

@AngelFP
Copy link
Copy Markdown
Contributor

@AngelFP AngelFP commented Sep 15, 2023

Fixes a bug on Windows when saving the history to file.

Currently libEnsemble replaces all : for - (as they are not valid in Windows file names), but it replaces them not just in the file name, but in the file path. This caused an issue where e.g., c:\ would also be changed to c-\. The fix proposes doing this replacement only in the date_start, not the whole path.

@jlnav jlnav merged commit f3ef94d into Libensemble:develop Sep 15, 2023
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.

2 participants