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

Add bader_exe_path keyword to BaderAnalysis and run bader tests in CI #3191

Merged
merged 10 commits into from
Jul 28, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Jul 28, 2023

You can now use

BaderAnalysis(bader_exe_path="/abs/path/to/bader")

to run bader anywhere on your system without any PATH modification shenanigans.

TODO: Promote atomate2.SETTINGS.VASP_RUN_BADER: bool to accept a string so users only need to specify bader_exe_path once in their atomate2 config.

@janosh janosh added enhancement A new feature or improvement to an existing one api Application programming interface cli Command line interface labels Jul 28, 2023
@janosh janosh changed the title Allow passing explicit file path to BaderAnalysis via bader_exe_path Allow passing explicit bader_exe_path to BaderAnalysis Jul 28, 2023
@janosh janosh changed the title Allow passing explicit bader_exe_path to BaderAnalysis Add bader_exe_path keyword to BaderAnalysis Jul 28, 2023
@janosh janosh force-pushed the BaderAnalysis-add-bader_exe_path-kwarg branch from 6faaf8c to a2799fd Compare July 28, 2023 14:27
…ad1zkrcz/CHGCAR'

in     def test_automatic_runner(self):
        test_dir = os.path.join(PymatgenTest.TEST_FILES_DIR, "bader")

>       summary = bader_analysis_from_path(test_dir)
@janosh janosh changed the title Add bader_exe_path keyword to BaderAnalysis Add bader_exe_path keyword to BaderAnalysis and run bader tests in CI Jul 28, 2023
@janosh janosh force-pushed the BaderAnalysis-add-bader_exe_path-kwarg branch from 2e3c885 to d13a20b Compare July 28, 2023 23:00
@janosh janosh merged commit 0b7607a into master Jul 28, 2023
5 of 6 checks passed
@janosh janosh deleted the BaderAnalysis-add-bader_exe_path-kwarg branch July 28, 2023 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Application programming interface cli Command line interface enhancement A new feature or improvement to an existing one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant