raiseGenericConverterError("Invalid keyword #1. Must be 'MOLECULAR_CONTENTS'")
# Read the number of molecular types that define the universe
try:
nMolecularTypes=int(self._gtFile.readline())
exceptValueError:
raiseGenericConverterError("Invalid type for 'MOLECULAR_CONTENTS' keyword. Must be an integer corresponding to the number of molecular types found in the simulation.")