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

Fractional bond orders #237

Closed
wants to merge 1 commit into from
Closed

Conversation

tovrstra
Copy link
Member

Fixes #222

@wilhadams This fixes the mismatch with QCSchema. I'm still putting all information in one array. This way we do not need to have attribute validators comparing the lengths of the arrays.

@evohringer I recall we initially discussed the bond attribute this with you. Would the current implementation work for your purposes?

@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #237 (537f947) into master (2709977) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #237      +/-   ##
==========================================
+ Coverage   95.07%   95.11%   +0.04%     
==========================================
  Files          72       72              
  Lines        7371     7373       +2     
  Branches      985      985              
==========================================
+ Hits         7008     7013       +5     
+ Misses        175      173       -2     
+ Partials      188      187       -1     
Impacted Files Coverage Δ
iodata/formats/json.py 73.33% <100.00%> (ø)
iodata/formats/mol2.py 92.38% <100.00%> (+2.47%) ⬆️
iodata/iodata.py 100.00% <100.00%> (ø)
iodata/test/test_mol2.py 100.00% <100.00%> (ø)
iodata/overlap.py 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2709977...537f947. Read the comment docs.

@tovrstra
Copy link
Member Author

I tried to use this, but the API in this PR is rather inconvenient from the user perspective. Splitting up the bond information over two arrays would result in a much more intuitive API.

@tovrstra tovrstra closed this Mar 27, 2021
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.

Add support for fractional bond orders
1 participant