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

Fix encoding of input Molecule coordinates in cclib TaskDocument #411

Merged
merged 8 commits into from
Jun 29, 2023
Merged

Fix encoding of input Molecule coordinates in cclib TaskDocument #411

merged 8 commits into from
Jun 29, 2023

Conversation

Andrew-S-Rosen
Copy link
Member

@Andrew-S-Rosen Andrew-S-Rosen commented Jun 28, 2023

Closes #406. The coordinates for the "molecule_unoriented" Molecule object were stored as numpy str format instead of float. This PR fixes the encoding.

@Andrew-S-Rosen Andrew-S-Rosen changed the title Fix printing of dict representation for cclib TaskDocument [WIP] Fix printing of dict representation for cclib TaskDocument Jun 28, 2023
@Andrew-S-Rosen Andrew-S-Rosen changed the title [WIP] Fix printing of dict representation for cclib TaskDocument Fix encoding of input Molecule coordinates in cclib TaskDocument Jun 28, 2023
@Andrew-S-Rosen
Copy link
Member Author

@utf, this should be ready to go!

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #411 (4aca411) into main (896604a) will decrease coverage by 0.08%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
- Coverage   64.95%   64.87%   -0.08%     
==========================================
  Files          74       74              
  Lines        7193     7192       -1     
  Branches      946      947       +1     
==========================================
- Hits         4672     4666       -6     
- Misses       2221     2228       +7     
+ Partials      300      298       -2     
Impacted Files Coverage Δ
src/atomate2/common/schemas/cclib.py 77.70% <100.00%> (+3.87%) ⬆️

... and 1 file with indirect coverage changes

@utf
Copy link
Member

utf commented Jun 29, 2023

Thank you!

@utf utf merged commit fbfe68f into materialsproject:main Jun 29, 2023
7 checks passed
@Andrew-S-Rosen Andrew-S-Rosen deleted the cclib-fix branch June 29, 2023 13:07
@utf utf added the fix Bug fix PR label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: A Molecule object in the cclib TaskDocument can't be printed
2 participants