Skip to content

Conversation

@keiyamamo
Copy link
Collaborator

This PR introduces a feature to save command-line arguments to a file.
This should ensure the reproducibility of the mesh.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.05%. Comparing base (8a6dcb2) to head (19030d3).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   79.09%   79.05%   -0.05%     
==========================================
  Files          32       32              
  Lines        3812     3819       +7     
==========================================
+ Hits         3015     3019       +4     
- Misses        797      800       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@johannesring
Copy link
Collaborator

You can already ensure the reproducibility of a mesh by using a config file and the --config option in vasp-generate-mesh, so I am not sure how useful this is.

Copy link
Collaborator

@johannesring johannesring left a comment

Choose a reason for hiding this comment

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

I am fine with merging this if you want to have this functionality.

@keiyamamo
Copy link
Collaborator Author

I agree config does the job, but this could be convenient for situations where you want to test different parameters and keep track of the command over time. I will merge it but please let me know if this becomes annoying, we can then reverse the change anytime :)

@keiyamamo keiyamamo merged commit 7915b55 into KVSlab:master Oct 1, 2024
@keiyamamo keiyamamo deleted the save_meshing_command branch October 21, 2024 02:12
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