You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The errorString attribute is used by the readFile() function to store the
error messages that are generated when an invalid MEASURE input file is
loaded. This enables them to remain available after readFile() returns,
so that they can be inspected or displayed in the future.
Note that readFile() now returns the loaded data even when the network
is invalid. Therefore, a proper test for a valid input file is that the
return value from readFile() is not None *and* the errorString of the
returned network is empty.
errorString0+='Unable to determine microcanonical rate k(E); you must specify either the high-P kinetics or transition state molecular degrees of freedom.\n'
545
+
errorString0+='* Unable to determine microcanonical rate k(E). you must specify either\n the high-P kinetics or transition state molecular degrees of freedom.\n'
546
546
547
547
# Certain reactions require that both reactants and products have thermo data
548
548
thermoRequired=False
@@ -557,22 +557,22 @@ def readFile(path):
557
557
ifthermoRequired:
558
558
forspecinrxn.reactants:
559
559
ifspec.thermoisNone:
560
-
errorString0+='Unable to determine thermo data for reactant "{0}"; you must specify a thermodynamics model.\n'.format(spec)
560
+
errorString0+='* Unable to determine thermodynamics data for reactant "{0}".\n You must specify molecular degrees of freedom or a thermodynamics model.\n'.format(spec)
561
561
forspecinrxn.products:
562
562
ifspec.thermoisNone:
563
-
errorString0+='Unable to determine thermo data for product "{0}"; you must specify a thermodynamics model.\n'.format(spec)
563
+
errorString0+='* Unable to determine thermodynamics data for product "{0}".\n You must specify molecular degrees of freedom or a thermodynamics model.\n'.format(spec)
0 commit comments