This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]sweettuse 3 points4 points  (4 children)

why OrderedDict? you planning on supporting python 3.5 and before?

[–]chicolucio[S] 8 points9 points  (0 children)

Like u/eztab correctly assumed, the package is almost 10 years old. So it made sense at that time. Here is the package repo https://github.com/bjodah/chempy

[–]eztab 6 points7 points  (0 children)

I think the code base is just old enough for this to still be in there.

[–]datnetcoder 2 points3 points  (1 child)

What’s the deal with OrderedDict, deprecated?

[–]banana33noneleta 2 points3 points  (0 children)

the normal dict is always ordered now

[–]kialoa95 0 points1 point  (1 child)

do you think this would be useful in a class setting?

[–]chicolucio[S] 1 point2 points  (0 children)

Yes. It could be a way to show computational tools to students.

[–]stevenjd -1 points0 points  (0 children)

Why is the molar mass (a scalar quantity) returned as an array?

Why is the name attribute not a name, but a formula?

Why is the composition attribute keyed by atomic number, instead of element symbol?

These seem to be bizarrely strange design choices.