Joss-reviews: [REVIEW]: pfsspy: A Python package for potential field source surface modelling

Created on 8 Oct 2020  ยท  40Comments  ยท  Source: openjournals/joss-reviews

Submitting author: @dstansby (David Stansby)
Repository: https://github.com/dstansby/pfsspy
Version: v0.6.3
Editor: @mbobra
Reviewer: @mancellin, @sibirrer
Archive: 10.5281/zenodo.4118975

:warning: JOSS reduced service mode :warning:

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

Status

status

Status badge code:

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

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.)

Reviewer instructions & questions

@mancellin & @sibirrer, 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.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @mbobra know.

โœจ Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest โœจ

Review checklist for @mancellin

Conflict of interest

  • [x] I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

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] Contribution and authorship: Has the submitting author (@dstansby) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • [x] Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

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 functionality 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] Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • [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] State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • [x] Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • [x] References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?

Review checklist for @sibirrer

Conflict of interest

  • [x] I confirm that I have read the JOSS conflict of interest (COI) policy and that: I have no COIs with reviewing this work or that any perceived COIs have been waived by JOSS for the purpose of this review.

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] Contribution and authorship: Has the submitting author (@dstansby) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • [x] Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines

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 functionality of the software can be verified?
  • [ ] 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] Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • [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] State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • [x] Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • [x] References: Is the list of references complete, and is everything cited appropriately that should be cited (e.g., papers, datasets, software)? Do references in the text use the proper citation syntax?
Python accepted published recommend-accept review

Most helpful comment

Thanks both for your super helpful reviews. I have just released a new minor version with the recommended fixes: https://pypi.org/project/pfsspy/0.6.2/. Let me know if there is anything else I need to do, or if I have missed anything.

All 40 comments

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @mancellin, @sibirrer it looks like you're currently assigned to review this paper :tada:.

:warning: JOSS reduced service mode :warning:

Due to the challenges of the COVID-19 pandemic, JOSS is currently operating in a "reduced service mode". You can read more about what that means in our blog post.

: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

For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:

@whedon generate pdf

PDF failed to compile for issue #2732 with the following error:

/app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in block in find': No such file or directory - d767e2c6b691b6c3aa4357b1 (Errno::ENOENT) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:incollect!'
from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in find' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/lib/whedon/processor.rb:66:infind_paper_paths'
from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:53:in prepare' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:inrun'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:indispatch'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:131:in from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in load' from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in

'

@whedon generate pdf from branch joss-paper

Attempting PDF compilation from custom branch joss-paper. Reticulating splines etc...

PDF failed to compile for issue #2732 with the following error:

sh: 1: cd: can't cd to cf7fcbd881a9f5f14b0840c0
/app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in block in find': No such file or directory - cf7fcbd881a9f5f14b0840c0 (Errno::ENOENT) from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:incollect!'
from /app/vendor/ruby-2.4.4/lib/ruby/2.4.0/find.rb:43:in find' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/lib/whedon/processor.rb:66:infind_paper_paths'
from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:53:in prepare' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:inrun'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:indispatch'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-d14a699185fb/bin/whedon:131:in from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in load' from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in

'

@openjournals/joss-eics Why isn't the pdf compiling properly from branch joss-paper? (It worked correctly in the pre-review).

๐Ÿ‘‹ @mancellin @sibirrer Thank you so much for agreeing to review this submission! Whedon generated your reviewer checklists above. If you'd like more information on any of these items, please reference the review critera. Also, we encourage open communication between the reviewers, submitting author, and editor. So please feel free to ask questions here on this review thread. I'm happy to help!

Also, I am not sure why Whedon is not generating the paper correctly. I'll fix this, but you can use this pdf in the meantime.

@whedon generate pdf from branch joss-paper

@whedon generate pdf from branch joss-paper

Attempting PDF compilation from custom branch joss-paper. Reticulating splines etc...

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

Apologies for the noise here. This should be fixed now.

@dstansby very nice software package. I very much like the presentation of the documentation and the user examples. I don't see from my side any roadblocks from publishing pfsspy in JOSS after minor revisions indicated in my opened issues.

I opened three issues:
https://github.com/dstansby/pfsspy/issues/239
https://github.com/dstansby/pfsspy/issues/240
https://github.com/dstansby/pfsspy/issues/241
one concerning the documentation, one about the contribution guidelines and one about code formatting.
Let me know if you have questions about these issues and happy to engage in a discussion.

The installation works and the few examples I tried worked out.

There is one reference in the paper pdf that does not work. And I found a type ("Given an 2D map...")
I am not an expert in solar physics and therefore do not want to judge the scientific applicability. Given that this code has been used in several publications with noticeable use, this is prove enough.

Testing is at a good stage. There are some definitions not being tested and it might be not too much work to add suitable test functions for those as well.

In the documentation you state (wisely): "pfsspy is a very new package, so elements of the API are liable to change with the first few releases." Can you be more specific of which features are susceptible to changes or do you consider the API being stable now? Or what kind of design and feature changes the user might expect in the near future? I very much like the changelog description with the changes that are not backwards compatible in the latest version.

Thanks for taking the time to review pfsspy, and thanks for the helpful review!

I opened three issues:
dstansby/pfsspy#239
dstansby/pfsspy#240
dstansby/pfsspy#241
one concerning the documentation, one about the contribution guidelines and one about code formatting.
Let me know if you have questions about these issues and happy to engage in a discussion.

I think I have addressed each of these issues; see the comments I have left on the individual issues. I'll leave you to close or comment on them as you see fit. Am happy to do a minor release of pfsspy with these changes as a condition of acceptance, but I will wait for reviewer two to comment in case there's some more changes to be made.

There is one reference in the paper pdf that does not work. And I found a type ("Given an 2D map...")

Thanks, the typo and reference has been fixed in the latest version of the paper source.

In the documentation you state (wisely): "pfsspy is a very new package, so elements of the API are liable to change with the first few releases." Can you be more specific of which features are susceptible to changes or do you consider the API being stable now? Or what kind of design and feature changes the user might expect in the near future? I very much like the changelog description with the changes that are not backwards compatible in the latest version.

Technically I'm reserving the right for everything to be subject to change; in practice now pfsspy is maturing only minor changes are now made. I intend for the current version (0.6) to be the last unstable version, and for the next major release (1.0) to be the first release where no API is subsequently broken.

I think that's all - any more queries or questions let me know!

Thanks @dstansby ! These changes address my comments. I am waiting for the other reviewers comments before signing off myself.

This is a very good work. The package is easy to install, the documentation is fine, and the code examples work as expected.

I agree with @sibirrer's comments. I also reported two more minor issues (dstansby/pfsspy#250, dstansby/pfsspy#254) and made some optional suggestions (dstansby/pfsspy#252, dstansby/pfsspy#253) in the issue tracker of the package.

The paper can be recommended for publication as soon as a fixed version of the package is released.

Thanks both for your super helpful reviews. I have just released a new minor version with the recommended fixes: https://pypi.org/project/pfsspy/0.6.2/. Let me know if there is anything else I need to do, or if I have missed anything.

Thanks @dstansby ! I am happy and sign off from my side.

Thank you both for your thorough and speedy reviews, @sibirrer and @mancellin! I really appreciate it.

Nice work and congratulations, @dstansby! Can you please merge the branch joss_paper into your main repo and release a new version? The pfsspy version associated with this review must include the JOSS paper, but you don't need to include the JOSS paper in subsequent versions of pfsspy.

@whedon generate pdf

:point_right::page_facing_up: Download article proof :page_facing_up: View article proof on GitHub :page_facing_up: :point_left:

@whedon check references

Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1007/BF00145734 is OK
- 10.1007/BF00146478 is OK
- 10.3847/1538-4365/ab4da7 is OK
- 10.1051/0004-6361/202038319 is OK
- 10.1051/0004-6361/201936449 is OK
- 10.1007/s11207-020-01622-2 is OK
- 10.1038/s41586-019-1818-7 is OK
- 10.3847/1538-4357/ab4f7a is OK
- 10.21105/joss.01832 is OK
- 10.3847/1538-3881/aabc4f is OK
- 10.1023/A:1005038224881 is OK
- 10.1086/309265 is OK

MISSING DOIs

- None

INVALID DOIs

- None

@whedon set 10.5281/zenodo.4118975 as archive

OK. 10.5281/zenodo.4118975 is the archive.

@whedon set v0.6.3 as version

OK. v0.6.3 is the version.

@openjournals/joss-eics This paper is ready for final processing ๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Looks good to me!

@whedon accept

Attempting dry run of processing paper acceptance...
Reference check summary (note 'MISSING' DOIs are suggestions that need verification):

OK DOIs

- 10.1007/BF00145734 is OK
- 10.1007/BF00146478 is OK
- 10.3847/1538-4365/ab4da7 is OK
- 10.1051/0004-6361/202038319 is OK
- 10.1051/0004-6361/201936449 is OK
- 10.1007/s11207-020-01622-2 is OK
- 10.1038/s41586-019-1818-7 is OK
- 10.3847/1538-4357/ab4f7a is OK
- 10.21105/joss.01832 is OK
- 10.3847/1538-3881/aabc4f is OK
- 10.1023/A:1005038224881 is OK
- 10.1086/309265 is OK

MISSING DOIs

- None

INVALID DOIs

- None

:wave: @openjournals/joss-eics, this paper is ready to be accepted and published.

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

If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/joss-papers/pull/1843, 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...

๐Ÿฆ๐Ÿฆ๐Ÿฆ ๐Ÿ‘‰ Tweet for this paper ๐Ÿ‘ˆ ๐Ÿฆ๐Ÿฆ๐Ÿฆ

๐Ÿšจ๐Ÿšจ๐Ÿšจ 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/1844
  2. Wait a couple of minutes to verify that the paper DOI resolves https://doi.org/10.21105/joss.02732
  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...

Congrats @dstansby on your article's publication in JOSS!

Many thanks to @mancellin and @sibirrer for reviewing this, and @mbobra for editing.

: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](https://joss.theoj.org/papers/10.21105/joss.02732/status.svg)](https://doi.org/10.21105/joss.02732)

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

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

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