Submitting author: @apuignav (Albert Puig Navarro)
Repository: https://github.com/zfit/phasespace/
Version: 1.0.2
Editor: @poulson
Reviewer: @mdoucet, @stuartcampbell, @vyasr
Archive: 10.5281/zenodo.2591993
Status badge code:
HTML: <a href="http://joss.theoj.org/papers/8d627191394fa68c607459480e0b4b6f"><img src="http://joss.theoj.org/papers/8d627191394fa68c607459480e0b4b6f/status.svg"></a>
Markdown: [](http://joss.theoj.org/papers/8d627191394fa68c607459480e0b4b6f)
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) by leaving comments 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.)
@mdoucet & @stuartcampbell & @vyasr, 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.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @poulson 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?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. @mdoucet, @stuartcampbell, @vyasr it looks like you're currently assigned to review 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
For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
Fixed a couple of typography issues, now it's good to go!
Additional notes relating to my review:
test_physics.py) are the ones that are meant to test against external codes. If the outputs are being stored as artifacts directly on your testing servers or something similar, I would suggest using e.g. pytest.mark.skip if not on CI to avoid users seeing a failure._generate and _recursive_generate functions for the sake of future developers.Once these requests are addressed, I can review the actual paper as well.
I'm done with my review. The code does what it says it does. I could run the code, generate decays and check that the 4-momentum vectors and invariant mass of the results made sense. I only wish that functionality to deal with decay widths, along the lines of the helper code in tests/helpers/decays.py, would be part of the main code.
- I don't think most of the elements added to setup_requires are actually necessary for users (e.g. sphinx, bumpversion, wheel, twine, etc). I would remove those that the user shouldn't actually need. Developers can install those as needed.
I agree, removed
- A few tests currently fail because they're referring to nonexistent files. Based on your documentation, these tests (in
test_physics.py) are the ones that are meant to test against external codes. If the outputs are being stored as artifacts directly on your testing servers or something similar, I would suggest using e.g.pytest.mark.skipif not on CI to avoid users seeing a failure.- Although they are internal methods, they're doing the bulk of the work it seems like, so I would like to see some documentation of the
_generateand_recursive_generatefunctions for the sake of future developers.
Fixed the CI (there was a problem with uploading the large files to the CI)
I'm done with my review.
Thanks a lot for that!
I only wish that functionality to deal with decay widths, along the lines of the helper code in
tests/helpers/decays.py, would be part of the main code.
This is intentionally not part of the package. phasespace aims to only provide the decay mechanics and leaves other things to other libraries, since there are enough around that are quite suitable for that. E.g. using tensorflow_probability with it's distributions and the particle-package for the particles characteristics works already well. And there is an example also provided in the docs that can be copy-pasted basically, the mechanism is pretty simple.
So from our point of view, the additional maintenance and design effort would not be worth it, instead the focus is to provide a stable interface and the flexibility to compose any function.
Hi @vyasr: How do you feel your requests are progressing?
I am done with my review - sorry it took so long
@apuignav @mayou36 any thoughts regarding my request for documentation of the generation functions? That's my last outstanding request.
@vyasr I think it makes sense, although the documentation is mainly included in the "parent" methods. We'll add docs to clarify better so it's more developer-friendly.
@vyasr Docs have been updated!
Looks good! I'm all set with my review now.
One minor tip, the docstrings are pretty inconsistent with using tensor, Tensor, and tf.Tensor. If you consistently refer to tensorflow.Tensor using the fully qualified name (it might be possible to use aliases, I haven't tried) you can take advantage of Intersphinx to get links to show up in your documentation.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
The preprint looks good!
@whedon check references
Attempting to check references...
```Reference check summary:
OK DOIs
MISSING DOIs
INVALID DOIs
@whedon set 10.5281/zenodo.2591993 as archive
OK. 10.5281/zenodo.2591993 is the archive.
:wave: @openjournals/joss-eics, this submission looks ready to be accepted.
Before continuing, @apuignav, please edit the metadata of the Zenodo archive so the author list and title matches the JOSS paper.
Should be done. I don't know why zenodo deletes all the info whenever a new release happens :-(
Hey! Is there anything missing from our side? I have not been following closely lately.
๐ @apuignav - sorry for the delay - I think you hit a shift change of Associated-Editors-in-Chief.
Can you merge some minor changes in the paper: https://github.com/zfit/phasespace/pull/32 ?
Done! Thanks for the fixes!
@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/1059
If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/joss-papers/pull/1059, then you can now move forward with accepting the submission by compiling again with the flag deposit=true e.g.
@whedon accept deposit=true
๐ @arfon - note that we have a problem with the title in the xml, due to the greek character, I assume. Your thoughts?
Hrm, looks like Whedon is stripping this out. Feel free to accept here and I'll update the Crossref metadata manually after you accept.
@whedon accept deposit=true
Doing it live! Attempting automated processing of paper acceptance...
๐ฆ๐ฆ๐ฆ ๐ Tweet for this paper ๐ ๐ฆ๐ฆ๐ฆ
๐จ๐จ๐จ 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...
@arfon - please do your crossref-latex magic :) And then please close this issue when everything seems to be right
Thanks to @mdoucet, @stuartcampbell, @vyasr for reviewing!
And to @poulson for editing!
@arfon - please do your crossref-latex magic :) And then please close this issue when everything seems to be right
OK, fixed up the metadata and opened https://github.com/openjournals/whedon/issues/59 to track this.
: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.01570)
HTML:
<a style="border-width:0" href="https://doi.org/10.21105/joss.01570">
<img src="https://joss.theoj.org/papers/10.21105/joss.01570/status.svg" alt="DOI badge" >
</a>
reStructuredText:
.. image:: https://joss.theoj.org/papers/10.21105/joss.01570/status.svg
:target: https://doi.org/10.21105/joss.01570
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:
Thank you very much to everybody for the review!
Most helpful comment
Looks good! I'm all set with my review now.
One minor tip, the docstrings are pretty inconsistent with using
tensor,Tensor, andtf.Tensor. If you consistently refer totensorflow.Tensorusing the fully qualified name (it might be possible to use aliases, I haven't tried) you can take advantage of Intersphinx to get links to show up in your documentation.