Skip to content

oxidation number #33

Description

@wedobetter

chemlib==2.2.3

----> 1 Compound('CuSO4').oxidation_numbers()

File /opt/homebrew/lib/python3.10/site-packages/chemlib/chemistry.py:129, in Compound.oxidation_numbers(self)
    126         left.remove(sym)
    128 if len(left) > 1:
--> 129     raise NotImplementedError
    131 ox_nums[left[0]] = int(-current()/self.occurences[left[0]])
    132 return ox_nums

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions