-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add .ipynb notebooks to document sympy & related routines #139
Conversation
- nmodl-odes-overview contains a higher level overview of the approach to solving ODEs in nmodl - nmodl-kinetic-schemes describes the Kinetic scheme maths & KineticBlockVisitor - nmodl-sympy-solver describes the SympySolver visitor (incomplete) - nmodl-linear-solver describes the sympy linear solver routines (incomplete) - nmodl-nonlinear-solver describes the Newton solver & related sympy routines (incomplete) - nmodl-sympy-conductance describes the SymyConductance visitor also - add README.md to notebooks folder, with links to interactive colab jupyter session - the links won't work yet as repo is still private & nmodl is not installed, - but once github repo is public & nmodl is on pypi, we can add `! pip install nmodl` to top of notebook and they should work - exposed inline/folding/renaming/kinetic visitors via pybind for use in these notebooks - added `nb-format` cmake target to run nbconvert and clean_ipynb on notebooks - updated yaml.load to avoid warning message: https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
@lkeegan : which pyyaml version are you using? Locally I see :
Edit : Ok, I went through this. I assume many people will have older version, on my mac I see :
So we need backward compatible change ? |
it looks like we could use |
@lkeegan : should I merge this or you want to push anything here? |
@pramodk for me it's good to merge - I don't know if |
Bit puzzled by this : I installed with cmake as :
and then I see
But I couldn't reproduce this in interactive session :
|
Something wrong with make install :
not sure why _nmodl.cpython-37m-darwin.so is getting installed twice and they seems to be different:
There are two .so files:
Not sure why but following works for me:
|
- previously *.pyc and .so file from top level nmodl directory was getting copied to install prefix - this was causing issue mentioned in #139 Change-Id: I7f6bddbba71c48f9841d1f07e22f8479602ab0f3
- previously *.pyc and .so file from top level nmodl directory was getting copied to install prefix - this was causing issue mentioned in #139
(more documentation to come in a later PR)
also
! pip install nmodl
to top of notebook and they should worknb-format
cmake target to run nbconvert and clean_ipynb on notebooks