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 badge code:
HTML: <a href="http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7"><img src="http://joss.theoj.org/papers/6d8b2f94e6d08a7b5d65e98a948dcad7/status.svg"></a>
Markdown: [](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.)
@mikaem & @ngoldbaum, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:
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 โจ
paper.md file include a list of authors with their affiliations?paper.md file include a list of authors with their affiliations?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:


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!
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. 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)?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@1f14c583I 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.pyacts 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
numpydocextension. The only difference I see between that andsphinx.ext.napoleonseems 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.mdfile 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:
pyro in code format? (otherwise, it looks weird in lower case starting a sentence)pickle() >> capitalize PythonI'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
INVALID DOIs
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:
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:
[](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:
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: