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
Zero occupancy in cif file treated as 1.0. #2125
Comments
There is no strong reason for this. I think your change is good. |
@orex are you going to create a pull request? |
Hello. I would like to create a pull request, but I'm extremely busy this week. I don't' want to create it w/o testing. |
Thanks, sounds good, no rush. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear OpenBabel developers.
Many thanks for your program, and sorry for avoiding the template.
The problem appears in commit bf22042 and now in master.
The issue is that the CIF file occupancy values can be treated incorrectly.
The occupancy become 1.0 if it is 0.0. This affect supercell program. orex/supercell#28
I would like to get a comment from @afonari about the reason of such behaviour. If there are no "strong" reasons for this, I propose to change the code to
Sincerely yours,
Kirill.
The text was updated successfully, but these errors were encountered: