Joss-reviews: [REVIEW]: pyro: a framework for hydrodynamics explorations and prototyping

Created on 19 Feb 2019  ยท  36Comments  ยท  Source: openjournals/joss-reviews

Submitting author: @harpolea (Alice Harpole)
Repository: https://github.com/python-hydro/pyro2
Version: v.3.1
Editor: @labarba
Reviewer: @mikaem, @ngoldbaum
Archive: 10.5281/zenodo.2575565

Status

status

Status badge code:

HTML: <a href="http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7"><img src="http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7/status.svg"></a>
Markdown: [![status](http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7/status.svg)](http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@mikaem & @ngoldbaum, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @labarba know.

โœจ Please try and complete your review in the next two weeks โœจ

Review checklist for @mikaem

Conflict of interest

Code of Conduct

General checks

  • [X] Repository: Is the source code for this software available at the repository url?
  • [X] License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • [X] Version: v.3.1
  • [X] Authorship: Has the submitting author (@harpolea) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • [X] Installation: Does installation proceed as outlined in the documentation?
  • [X] Functionality: Have the functional claims of the software been confirmed?
  • [X] Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • [X] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [X] Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • [X] Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • [X] Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • [X] Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • [X] Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • [X] Authors: Does the paper.md file include a list of authors with their affiliations?
  • [X] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [X] References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?

Review checklist for @ngoldbaum

Conflict of interest

Code of Conduct

General checks

  • [x] Repository: Is the source code for this software available at the repository url?
  • [x] License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • [x] Version: v.3.1
  • [x] Authorship: Has the submitting author (@harpolea) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?

Functionality

  • [x] Installation: Does installation proceed as outlined in the documentation?
  • [x] Functionality: Have the functional claims of the software been confirmed?
  • [x] Performance: If there are any performance claims of the software, have they been confirmed? (If there are no claims, please check off this item.)

Documentation

  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • [x] Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • [x] Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • [x] Automated tests: Are there automated tests or manual steps described so that the function of the software can be verified?
  • [x] Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

Software paper

  • [x] Authors: Does the paper.md file include a list of authors with their affiliations?
  • [x] A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • [x] References: Do all archival references that should have a DOI list one (e.g., papers, datasets, software)?
accepted published recommend-accept review

All 36 comments

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @mikaem, it looks like you're currently assigned as the reviewer for this paper :tada:.

:star: Important :star:

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews ๐Ÿ˜ฟ

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands
Attempting PDF compilation. Reticulating splines etc...

๐Ÿ‘‹ @mikaem, @ngoldbaum โ€” Thanks for agreeing to contribute this review! This is where the action happens. You have a reviewer checklist at the top of this issue, and you are welcome to ask any questions or leave comments for the authors here, as well as opening new issues in the submission repository if needed. (If you do, mention the issue in a comment here, to get a cross-link.)

I've gone through the reviewer checklist and I think this is ready to be published as-is.

My only substantive comment besides the issues and PRs I opened in the pyro2 repository is that the paper would be clearer if the third and second paragraph had their order switched (along with accompanying rewording so it flows well).

Thanks @ngoldbaum! I agree about the paragraph ordering - I've switched them over in python-hydro/pyro2@0a90bd25fc9f750370847f3cd6e0a51f82f78f5d

Hi
Sorry to hold up the review process. I've been familiarising myself with the project, and I started by following the installation instructions on readthedocs. No problem thus far and I get a nice figure from running

./pyro.py advection smooth inputs.smooth

All in all a very nice project:-) I think all there is for me to do really is to tick off boxes and provide just a few advices on improvement (having read the JOSS Guiding priciples: 'a key goal of JOSS is to raise the quality of research software'). And this is not meant as lengthy details of difficulties, just some comments.

I've seen that @ngoldbaum has opened up an issue https://github.com/python-hydro/pyro2/issues/75 regarding installation and I strongly support this suggestion. Furthermore, a good structure with a base solver module and a base problem module would probably make the code easier to follow, and reuse of code would be more intuitive. The softlinked problem folders inside many of the solver folders is probably not the best design;-)

Regarding the documentation, I think a lot of double quotes could be replaced with appropriate cross-links that would make the documentation easier to follow. (For example when the compare.py utility is documented and many others like it.) The API documentation is nicely done (for most) using Numpy style. However, the built API documentation looks a bit strange (see e.g., Parameters here) and I think this is because you are missing 'sphinx.ext.napoleon' from the list of extensions in conf.py. See also here
Also, from the documentation it is not really clear to me how to contribute to this project, only how to get help. May I suggest (as I should probably have done in an issue), that you add a small paragraph around here about how to contribute.

Just a few minor comments to a very nice project. I'll go ahead now and see if I can tick off some boxes:-)

Thanks for your comments @mikaem!

  • Currently simulation_null.py acts as a base for the solvers. As the solvers and problems can be quite different from each other (e.g. compare compressible vs. advection), I'm not really sure that there would be much benefit in having e.g. additional (abstract) base classes for the solvers and problems, and that it may just add an additional level of complexity.
  • I agree that more links in the documentation would be helpful - I'll add those in now
  • The docstrings in the API are currently processed using the numpydoc extension. The only difference I see between that and sphinx.ext.napoleon seems to be formatting (i.e. the former highlights the variable names, whereas the latter does not)?
  • We have a CONTRIBUTING.md file in the main repo, but I agree that this should be added to the documentation as well. I've added that in python-hydro/pyro2@1f14c583

I added some more links to the documentation in python-hydro/pyro2@47174438. In the example you linked to, compare.py refers to the script itself rather than the module it contains. I think that linking to the module here would not be particularly helpful, as the function of that part of the documentation is to document the use of the script itself.

Thanks for your comments @mikaem!

  • Currently simulation_null.py acts as a base for the solvers. As the solvers and problems can be quite different from each other (e.g. compare compressible vs. advection), I'm not really sure that there would be much benefit in having e.g. additional (abstract) base classes for the solvers and problems, and that it may just add an additional level of complexity.

I understand completely. It's just that when I see a lot of code duplication (or even soft links) I immediately think that this could probably be solved with object orientation and overloading. For example, I could imagine a problem base module where a default init_data method was defined, like the one under advection/problems/smooth.py. Then the problem under advection_rk/problems could simply import that function instead of the soft link. And the problem that was using an advection_fv4 solver could import the base method and overload it appropriately. Works similarly if there was a base problem class with an init_data method to overload. Anyways, how you do it is entirely up to you. I'm not going to fuss over it.

  • I agree that more links in the documentation would be helpful - I'll add those in now
  • The docstrings in the API are currently processed using the numpydoc extension. The only difference I see between that and sphinx.ext.napoleon seems to be formatting (i.e. the former highlights the variable names, whereas the latter does not)?

Below I add two links to figures that are compiling your documentation with and without sphinx.ext.napoleon. I would say that the second looks much nicer, but it is only formatting, you are right about that:-)

Without sphinx.ext.napoleon, i.e., from readthedocs
With sphinx.ext.napoleon, compiled locally

  • We have a CONTRIBUTING.md file in the main repo, but I agree that this should be added to the documentation as well. I've added that in python-hydro/pyro2@1f14c58

Ok, great. In that case I'll tick off my last box and I'm ready to sign off on this:-)

@whedon generate pdf

Attempting PDF compilation. Reticulating splines etc...

@labarba I recommend this paper for publication!

Minor editorial suggestions:

  • Perhaps write pyro in code format? (otherwise, it looks weird in lower case starting a sentence)
  • pyro is a python-based >> capitalize Python
  • The low Mach number atmospheric solver >> low-Mach-number (hyphenate compound adjective)
    (twice)
  • python's pickle() >> capitalize Python
  • main python code >> capitalize Python
  • python functions >> idem
  • entirely in python >> idem
  • low Mach number atmospheric solver* >> low-Mach-number
  • Also new support >> comma after "Also"

I've updated the paper file in python-hydro/pyro2@1ab2230a to capitalize the Python's and format the pyro's. In the (astrophysical) literature, it's normally written as low Mach number without the hyphens, so I think it would be better left as it is?

@whedon generate pdf

Attempting PDF compilation. Reticulating splines etc...

Hi @harpolea โ€” Time to make a tagged release of the software (and report the version number here), then an archive in Zenodo or a similar service (and report the DOI here). Cheers!

Hi @labarba - I've made a tagged release (v. 3.1) and have created a Zenodo DOI (10.5281/zenodo.2575565)

Can you edit the metadata of the Zenodo deposit so it matches the title and author list of the JOSS paper?

Fixed

@whedon set 10.5281/zenodo.2575565 as archive

OK. 10.5281/zenodo.2575565 is the archive.

@whedon set v.3.1 as version

OK. v.3.1 is the version.

@whedon accept

Attempting dry run of processing paper acceptance...

```Reference check summary:

OK DOIs

MISSING DOIs

  • None

INVALID DOIs

  • None
    ```

Check final proof :point_right: https://github.com/openjournals/joss-papers/pull/516

If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/joss-papers/pull/516, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.
@whedon accept deposit=true

@whedon accept deposit=true

Doing it live! Attempting automated processing of paper acceptance...

๐Ÿšจ๐Ÿšจ๐Ÿšจ THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! ๐Ÿšจ๐Ÿšจ๐Ÿšจ

Here's what you must now do:

  1. Check final PDF and Crossref metadata that was deposited :point_right: https://github.com/openjournals/joss-papers/pull/517
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.01265
  3. If everything looks good, then close this review issue.
  4. Party like you just published a paper! ๐ŸŽ‰๐ŸŒˆ๐Ÿฆ„๐Ÿ’ƒ๐Ÿ‘ป๐Ÿค˜

    Any issues? notify your editorial technical team...

Congratulations, @harpolea et al., your paper is published in JOSS!

Many thanks to our reviewers, @mikaem, @ngoldbaumโ€”you make this possible ๐Ÿ™

:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:

If you would like to include a link to your paper from your README use the following code snippets:

Markdown:
[![DOI](http://joss.theoj.org/papers/10.21105/joss.01265/status.svg)](https://doi.org/10.21105/joss.01265)

HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.01265">
  <img src="http://joss.theoj.org/papers/10.21105/joss.01265/status.svg" alt="DOI badge" >
</a>

reStructuredText:
.. image:: http://joss.theoj.org/papers/10.21105/joss.01265/status.svg
   :target: https://doi.org/10.21105/joss.01265

This is how it will look in your documentation:

DOI

We need your help!

Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:

Was this page helpful?
0 / 5 - 0 ratings