Skip to content

Fix file name creation for unphysical samples output file#218

Merged
sarahnlewis merged 1 commit into
microsoft:mainfrom
akors:fix-unphysical-suffix
May 14, 2026
Merged

Fix file name creation for unphysical samples output file#218
sarahnlewis merged 1 commit into
microsoft:mainfrom
akors:fix-unphysical-suffix

Conversation

@akors
Copy link
Copy Markdown
Contributor

@akors akors commented May 13, 2026

The PurePath.with_suffix() function needs a suffix that starts with a dot. To add a suffix that starts with an underscore, we first take the parent (dirname) of the path, then add the suffix as a string to the stem (basename) of the path.

Fixes issue #217

…t file

The PurePath.with_suffix() function needs a suffix that starts with a dot.
To add a suffix that starts with an underscore, we first take the parent (dirname) of the path, then add the suffix as a string to the stem (basename) of the path.
@sarahnlewis sarahnlewis merged commit 4038bda into microsoft:main May 14, 2026
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.

2 participants