Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This contains a number of cosmetic/formatting changes (
ruff
) as well as enhancements to operational model that underlies special actions:state
defined on the baseModelObject
class in favor of passingstate
in as an argument during object creation. (makes the code read more sensibly, as well as avoiding implicit globals, this is something that @austinorr and I discussed and ultimately held our nose on during last revision, but now is fixed)state
duringstate_om_model_root_object()
instead of relying on old implicit globalstate
propertystate
as create arguments (om_model_object,py, om_model_linkage.py, om_special_action.py, om_simtimer.py)Equation
object to operational model, which will underly next set of special actions (UVQUAN, UVNAME ...) as well as serving to add an operational element that can be used for a more robust operational framework that is not limited in ways that special actions are.(+, -, /, *)
x ^ y
state_ix
is available for use in equations.tests/test10eq
to verify execution of simple equation with+
. This uses a json file with 3 equation objects that replicate the special action changes toSEDTRN
fromtests/test10specl
, and in my desktop analysis theEquation
approach replicatedSPECL
to 7 significant digits.I need help figuring out how to get a package,pyparsing
, to install during testing. I have previously added things toenvironment.yml
but that was unsuccessful this time around. Any tips would be appreciated.pyporoject.toml
, but not sure if I went about it correctly, please advise.state
/ts_ix
. Tests forthcoming in future PR.@PaulDudaRESPEC @timcera