Menu

Commit [r25390]  Maximize  Restore  History

Created the lib.periodic_table.process_symbol() function.

This will take an atomic symbol and return a copy of it with an uppercase first letter and lowercase
second letter. This is used by the Periodic_table methods atomic_mass() and atomic_weight() to
allow for non-standard symbol input, for example if the element name comes directly from the all
uppercase PDB file format without translation.

bugman 2014-08-28

changed /trunk/lib/periodic_table.py
/trunk/lib/periodic_table.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.