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

Corrects default molecule coordinates to an empty numpy array #192

Merged
merged 1 commit into from
Mar 28, 2014

Conversation

pierrelb
Copy link
Contributor

Originally set as None, however this is incorrect and leads to other issues. The default should be an empty numpy array, as it is later filled in QMTP with a numpy array with x, y, and z coordinates.

Setting it as `None` led to other problems. It will be set
to an empty array as default, and as a filled array with
3 values (x, y, and z coordinates) when determined.
@rwest rwest merged commit 2eabd95 into ReactionMechanismGenerator:master Mar 28, 2014
@rwest
Copy link
Member

rwest commented Mar 28, 2014

Seems to fix the unit test errors.
In the long run we may worry about the memory cost of storing this unnecessary empty array on every single atom, but for now at least this works.

@pierrelb pierrelb deleted the atomCoords branch April 29, 2015 17:36
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.

2 participants