I got a question about a parsing error in the sfc_models package. The error given is:
"NotImplementedError: Non-simple parsing not done"
If this is happening to you, the file equation.py needs to be updated to match the development branch version. Link to the file:
https://github.com/brianr747/SFC_models/blob/development/sfc_models/equation.py
There was a change of behaviour between Python versions 3.4/3.5 and 3.7. The code is now cleaner, and it now works for me on Python versions 3.5 and 3.7.
I have pushed the change to both branches on GitHub, and updated the release version on PyPi (what pip installs) to version 1.0.3.
Note: If you have problems, one way to diagnose problems is to run the unit tests. (Very easy to do from PyCharm.)
(c) Brian Romanchuk 2019
Thank you for this Brian. It works perfectly now.
ReplyDelete(This is Brian.) Great. I was unsure about the fix, and so I held off pushing it to GitHub.
Delete