Skip to content

Get the Boron total in presence of Br or Ba #51

Description

@kikebeleg

The solution.total() method fails when you get the total of Boron, so it returns the sum of all elements beginning by "B" (Br, Bi, Ba..).

The .total() method is probably using a simple substring search rather than an exact match of the element symbol.

It cauises big mistakes in speciation of elements.

Thanks!
Kike

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions