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

composite amounts variable '1-x' not distributed properly #20

Open
CJBartel opened this issue Jun 12, 2019 · 0 comments
Open

composite amounts variable '1-x' not distributed properly #20

CJBartel opened this issue Jun 12, 2019 · 0 comments

Comments

@CJBartel
Copy link
Collaborator

This occurs 3 times [376, 7327, 18580]

These all look like composites (1-x)STUFF-x*OTHER_STUFF, but only the (1-x)STUFF is being included in the composition.

1 example

Item 376 (CuO is not included in composition):

data['target']['material_string'] = 1 - x(K0.5Na0.5)(Nb0.995Mn0.005O3)-xCuO
data['target']['composition'] = {'K0.5Na0.5)(Nb0.995Mn0.005O3)-xCuO': {'elements': {'Nb': '-0.995*x', 'Mn': '-0.005*x', 'O': '-3*x'}, 'amount': '-x + 1'}}
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

No branches or pull requests

1 participant