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

Fixed use_output_directory clearing filename_prefix in all instances #2695

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

bhacha
Copy link
Contributor

@bhacha bhacha commented Oct 31, 2023

The simulation.use_output_directory() function currently clears the filename_prefix variable whenever executed. The documentation says this should only happen when dname is not specified. I moved the clearing step into the if condition, so the filename_prefix is only cleared when dname is not specified.

@oskooi oskooi self-requested a review October 31, 2023 15:19
Copy link
Collaborator

@oskooi oskooi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@oskooi oskooi merged commit eee9972 into NanoComp:master Oct 31, 2023
5 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