S-shooting#787
Conversation
- Class SShootingSimulation added. - Class SShootingAnalysis added. - Class NonCanonicalSequentialMover added. - Class NonCanonicalSequentialMoveChange added. - Class DoubleWell added. - Class OverdampedLangevinIntegrator added. - Example IPython notebook sshooting-example.ipynb added. - Nosetests for all classes added.
|
Please note that we have changed to the OPS license from LGPL (2.1 or later) to MIT. For any pull request to OPS that was started while the license was still LGPL, I need an explicit confirmation that you approve of the license change. Please add a comment with something like "The changes in this pull request are licensed under the MIT license." |
|
Updating with the master introduced some inconsistencies, I will fix this... also: The changes in this pull request are licensed under the MIT license. |
|
@singraber : Before I do a full review on this, could you do the following?
Thanks! |
|
@singraber : Pinging again on this, since I think Christoph just said S-Shooting is in OPS... This needs some minor cleanup before I do the full review, but should be pretty straightforward! See #787 (comment) above for what needs to be done. |
Codecov Report
@@ Coverage Diff @@
## master #787 +/- ##
==========================================
+ Coverage 80.25% 81.76% +1.50%
==========================================
Files 136 142 +6
Lines 14449 15604 +1155
==========================================
+ Hits 11596 12758 +1162
+ Misses 2853 2846 -7
Continue to review full report at Codecov.
|
|
@dwhswenson Sorry for the delay, thanks for pinging! I integrated the toys from S-shooting into the main files and reused the |
dwhswenson
left a comment
There was a problem hiding this comment.
Looks pretty good -- minor changes, all in the tests. The main things are:
- We're now using pytest, so please don't add tests based on nose. I tried to give guidance on how to change. Most are straightforward: just directly use Python
assertstatements. Forassert_almost_equalor anything involving arrays, use tools innumpy.testing. - A couple of
to_dict/from_dictmethods weren't covered. Suggestions show how I normally do that (by testing consistency in ato_dict-from_dict-to_dictcycle).
dwhswenson
left a comment
There was a problem hiding this comment.
After the changes I made in the last few commits, I approve this, but probably worth allowing some time for someone else to look over my changes. No requirement that those get reviewed before merge, but I'll give some time for @sroet or @singraber to look over the changes in 9825397, 53261df, and 2094df0 before I merge.
I will leave this open for at least 24 hours, merging no earlier than Tue 14 Dec 06:00 GMT (01:00 my local).
Looked over them and those commits look good to me |
Added S-shooting method to OPS, includes example and tests.
Developed as part of E-CAM ESDW in Leiden in August 2017 and finished on a sunny day in June 2018 in Vienna.
Link to the gitlab repository:
https://gitlab.e-cam2020.eu/singraber/S-Shooting