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

JDFTx IO module #4078

Closed
wants to merge 280 commits into from
Closed

JDFTx IO module #4078

wants to merge 280 commits into from

Conversation

benrich37
Copy link
Contributor

@benrich37 benrich37 commented Sep 24, 2024

Summary

This PR has been divided into the following 3 PR's

This PR can be ignored until those PR's are approved

Todos

  • Add methods which interface between input and output objects (namely creating input objects from output objects)
  • Write broader inputs and outputs class to house JDFTXInfile and JDFTXOutfile along with additional inputs/outputs information

@mkhorton
Copy link
Member

Thanks @benrich37, I will review this

@benrich37
Copy link
Contributor Author

benrich37 commented Sep 26, 2024

Thanks @benrich37, I will review this

@mkhorton Sorry didn't see your comment, will pause on new commits until you're finished. Thank you!

Edit: Also, it looks like there are some typos baked into how JDFTx creates out files, which is causing pre-commit to fail on codespell for the example out files I've added. Would it be possible to add 'tests/files/io/jdftx/example_files/*out' to the exclude hook for codespell in .pre-commit-config.yaml? Unless there is a cleaner way to exclude those files

…when reading initial coordinates in joustructures.py (_get_initial_coords), added missing 1/bohr_to_ang when creating a JDFTXInfile from a pmg Structure, added specification of coords-type when creating JDFTXInfile from a pmg Structure, added keyword argument for from_structure to store ion position tags as fractional or cartesian coordinates
benrich37 and others added 25 commits December 20, 2024 15:37
fixed cartesian coords in from_jdftxinfile method and added Etot to p…
Merge pull request #1 from cote3804/jdftx-coords
….io tries to raise an "EncondingWarning", changing the dump files dir to be a fixture that creates itself, yields the path, and then removes itself (parts after a "yield" only run once the test using the fixture has finished)
Changing all "zopen" to just "open" due to an error raised when monty…
…als available per ion-type, adding a value check for the bandProjections, improving docustring for JDFTXOutputs
Storing a list of the orbital labels instead of a dictionary of orbit…
… to allow for initialization on calc_dirs with ambiguous out file identity (ie multiple files with the .out suffix)
Oversight that causes ionic positions from previous strucure to be pa…
Reverting old changes to sync with main fork
@benrich37
Copy link
Contributor Author

Closing this PR until planned changes to integrate inputs and outputs submodules are fully developed

@benrich37 benrich37 closed this Jan 24, 2025
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.

6 participants