Git Product home page Git Product logo

msmhelper's People

Contributors

braniii avatar gegabo avatar lgtm-migrator avatar moldyn-nagel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

msmhelper's Issues

StateTraj passes `states` property by reference

Describe the bug
The state trajectory class StateTraj return properties as mutable references.

To Reproduce
Steps to reproduce the behavior, including a minimal working example.

import msmhelper as mh

# prepare data
traj = mh.StateTraj(np.arange(5))

traj.states  # array([0, 1, 2, 3, 4])
traj.states += 1  # AttributeError: can't set attribute

# BUT
states = traj.states
states += 2
traj.states  # array([2, 3, 4, 5, 6])

Expected behavior
Return only copies.

Runtime information:

  • Version v1.1.0
  • Source PyPI

JOSS review: examples (tutorials) and testing

This is part of the review process for openjournals/joss-reviews#5339

Hi again! My last comments are about examples and testing:

  • The tutorials section of the documentation is very well done and easy to follow. My only suggestion is to write somewhere (in the README and perhaps also in the tutorials home page of the docs) that the jupyter notebooks are available in the docs/tutorials folder
  • Very minor suggestion: It may be convenient to some users to have a local copy of the documentation, so why not adding a way of generating the docs html from the downloaded repo, which should amount to installing the requirements and running python3 -m mkdocs build or something similar.
  • [ ] If I install all the testing requirements and run pytest, I get the following error at the end: FAIL Required test coverage of 90% not reached. Total coverage: 0.00%. Can you look into it?

JOSS Review--Documentation

This is part of the review process for openjournals/joss-reviews#5339

There's a few links broken in the github page

Updated May 3

JOSS review: about the paper

This is part of the review process for openjournals/joss-reviews#5339

Hi and thanks for the work you have put into this nice package. Here is a list of comments related to the paper:

  • line 62: "Monte chain" -> "Markov chain" (I guess?)
  • panels 1a, 1c and 1e look extremely similar to panels and figures of the Nagel et al (2023) paper. While this is not an issue per se, it may become a problem depending on the journal the foregoing paper will be published into. Please make sure that you'll have the rights to re-use the figure (or change the figure so that it won't clash with the journal license).
  • About the figure: while I appreciate brevity, I think here additional details about the quantities shown in the figures would help an interested (but maybe not too knowledgeable, or just inexperienced) reader

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.