-
Notifications
You must be signed in to change notification settings - Fork 0
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
Guard against ESM1.5 file naming collisions #133
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny typo, but otherwise looks good to me.
This option seems like a decent balancing act, and it doesn't remove the original files if they aren't converted, right?
Co-authored-by: Aidan Heerdegen <[email protected]>
Yep! Only files that get pushed through the conversion are candidates for deletion, and so any files with clashing outputs won't get deleted. |
I've just pinged for a re-review – the only change is the typo fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge to me.
This PR closes #124
It adds a new step to the
convert_esm1p5_output_dir
function, where pairs of(input_path, output_path)
tuples are removed prior to the conversion step if theiroutput_path
s are not unique, and warns the user when this occurs.