In stoichiometry.py both the amount_fractions and the mass_fractions functions contains the same description:
"""Calculate the mole fractions from the specified compound masses."""
The mass_fractions function says that it returns """:returns: [mass fractions] dictionary""" though.
Purpose
The purpose of this issue is to fix an incorrect function documentation that can be confusing and misleading.
Approach
Rename the 'mole fraction' text in the mass_fractions function description to 'mass fraction'.
Background
In stoichiometry.py both the amount_fractions and the mass_fractions functions contains the same description: """Calculate the mole fractions from the specified compound masses.""" The mass_fractions function says that it returns """:returns: [mass fractions] dictionary""" though.
Purpose
The purpose of this issue is to fix an incorrect function documentation that can be confusing and misleading.
Approach
Rename the 'mole fraction' text in the mass_fractions function description to 'mass fraction'.