-
Notifications
You must be signed in to change notification settings - Fork 6
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
latest versions of dependent packages cause problems with MuMoT figures #108
Comments
Maybe, working with the latest version of libraries, we can solve the issue of the empty figure when a cell is run twice. |
Using MumotEnv as described in the readme seems to do the trick for now |
we still have issues of double figures when the same cell is run twice and I think that checking what's wrong with newer packages (where their bugs have been possibly patched) can help us in understanding what we are doing wrong. |
With the latest commit and the MumotEnv.yml I cannot reproduce the double figures issue - please provide a minimal working example. I think we need to be pragmatic about finishing the first release, and moving on to community development or development funded by other means. To do that we need a stable environment that works for current functionality. |
The double-figure issue still happens to me (and I think Thomas too) using MumotEnv.yml on every cell that produces a plot. |
I chose a random cell in the user manual and tried to follow your procedure - I had no issues. Please upload a minimal working example. |
OK - this must be something internal to Jupyter I think - strangely clearing the cell output from the menu bar, then re-running, still exhibits the problem. I agree about fixing this in the future by allowing updated libraries, but we will have to approach that goal slowly - did you make a pull request with your changes on the PyDSTool repository yet, @joefresna ? |
Not yet but it's on my list. |
The double-plotting of figures when repeatedly executing commands should now be solved with commit 473e975. |
OK to close? |
I realised I don't know how to make a Pull Request to a git-hub repository where I don't have permissions. 😰 Anyhow, I found that changes similar to the one I wanted to propose have been recently refused: |
It looks like this pull request makes various Python 3 compatibility changes including the scipy versioning issue, and is still open... |
Also, I think pull request #69 may address this - if not, in there there is info on how to add a specific GitHub repo branch as a dependency |
Fixed via #338 |
When updating all packages, manual configuration of
PyDSTool
is necessary (because otherwise it won't work withSciPy 1.0.0
)https://stackoverflow.com/questions/48251201/import-of-package-pydstool-doesnt-work
In particular, it's necessary to modify two files:
lib/python3.5/site-packages/PyDSTool/__init__.py
(line 75):change
in
and file
lib/python3.5/site-packages/PyDSTool/parseUtils.py
(line 46-47), change:to
After the update, the dependent libraries in their last version causes problems to MuMoT figures:
The text was updated successfully, but these errors were encountered: