Skip to content
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

Fix Miscellaneous ipynbs #446

Merged
merged 5 commits into from
Mar 15, 2016
Merged

Conversation

dwhswenson
Copy link
Member

Several of the example ipynbs (that aren’t part of regular testing) have been broken by recent (and some not-so-recent) updates to the code. I’m fixing them so they run correctly.

  • langevin_integrator_check.ipynb
  • move_strategies_and_schemes.ipynb
  • sequential_ensembles.ipynb
  • sliced_sequential_ensemble.ipynb
  • tutorial_visualization.ipynb (partial: see More ipynb cleanup #447)
  • storage_mem_test.ipynb (partial: see More ipynb cleanup #447)
  • which_network.ipynb (incomplete notebook: removed from localtest.sh)

Just a bit of code rot we’ve had over time. We should remember to do this occasionally (and certainly before release!)

Also, remove non-existent test notebook from localtest.
Also sort-of fix for which_network: that one cannot pass right now
@dwhswenson
Copy link
Member Author

@jhprinz : storage_mem_test.ipynb uses OpenMMRandomEngine. I don't see OpenMMRandomEngine (or any kind of RandomEngine) anywhere in the code. What should I do with that?

Also some starts on storage_mem_test and tutorial_visualization: these need
input from JHP before they'll get fixed (might actually need him to handle
them).
@jhprinz
Copy link
Contributor

jhprinz commented Mar 14, 2016

It is called RandomMDEngine and is part of test_helpers.py now. I renamed it at some point since it is not OpenMM specific. It used to use the Snapshots.

@dwhswenson
Copy link
Member Author

Thanks. I'm going to parts of tutorial_visualization.ipynb and storage_mem_test.ipynb unfixed: there didn't seem to be an easy fix, and since I'm not sure what your intent was at the point that the bug occurs, I think it makes more sense for you to fix. Posting an issue on that in just a moment.

I suspect those will be easy for you: at least, the rest of this wasn't too bad for me to fix.

@dwhswenson
Copy link
Member Author

Passed tests: ready to merge.

@jhprinz
Copy link
Contributor

jhprinz commented Mar 15, 2016

Very good! Merging...

jhprinz added a commit that referenced this pull request Mar 15, 2016
@jhprinz jhprinz merged commit eaa334f into openpathsampling:master Mar 15, 2016
@dwhswenson dwhswenson deleted the fix_ipynbs branch April 7, 2016 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants