Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REVIEW]: Pyripherals: A Python Package for Communicating with Peripheral Electronic Devices #4762

Closed
editorialbot opened this issue Sep 14, 2022 · 71 comments
Assignees
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX Track: 3 (PE) Physics and Engineering

Comments

@editorialbot
Copy link
Collaborator

editorialbot commented Sep 14, 2022

Submitting author: @Ajstros (Abraham Stroschein)
Repository: https://github.com/Ajstros/pyripherals
Branch with paper.md (empty if default branch):
Version: v0.0.3
Editor: @danielskatz
Reviewers: @untzag, @askuric
Archive: 10.5281/zenodo.7308636

Status

status

Status badge code:

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

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

@untzag & @askuric, your review will be checklist based. Each of you will have a separate checklist that you should update when carrying out your review.
First of all you need to run this command in a separate comment to create the checklist:

@editorialbot generate my checklist

The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @danielskatz 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

Checklists

📝 Checklist for @askuric

📝 Checklist for @untzag

@editorialbot
Copy link
Collaborator Author

Hello humans, I'm @editorialbot, a robot that can help you with some common editorial tasks.

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

@editorialbot commands

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

@editorialbot generate pdf

@editorialbot
Copy link
Collaborator Author

Software report:

github.com/AlDanial/cloc v 1.88  T=0.16 s (555.8 files/s, 192120.5 lines/s)
-----------------------------------------------------------------------------------
Language                         files          blank        comment           code
-----------------------------------------------------------------------------------
JavaScript                          14           2405           2473           9223
HTML                                22           2952             66           6383
Python                              27           1008           1647           2916
TeX                                  2             70             14            376
Coq                                  1             40              0            257
reStructuredText                    10            207             88            233
Markdown                             7             81              0            203
YAML                                 2              6             18             31
DOS Batch                            1              8              1             26
TOML                                 1              1              0              9
make                                 1              4              7              9
Verilog-SystemVerilog                1              0              0              4
-----------------------------------------------------------------------------------
SUM:                                89           6782           4314          19670
-----------------------------------------------------------------------------------


gitinspector failed to run statistical information for the repository

@editorialbot
Copy link
Collaborator Author

Wordcount for paper.md is 1360

@editorialbot
Copy link
Collaborator Author

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

OK DOIs

- 10.1063/1.5001312 is OK
- 10.1016/j.bpj.2021.11.1391 is OK
- 10.5281/zenodo.777229 is OK
- 10.1080/08940886.2019.1608121 is OK

MISSING DOIs

- 10.1145/2851581.2890266 may be a valid DOI for title: FrontPanel®

INVALID DOIs

- https://doi.org/10.5281/zenodo.3732545 is INVALID because of 'https://doi.org/' prefix

@editorialbot
Copy link
Collaborator Author

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@danielskatz
Copy link

Note: @askuric will be delayed in starting their review until 25 Sept.

@danielskatz
Copy link

@untzag and @askuric - Thanks for agreeing to review this submission.
This is the review thread for the paper. All of our communications will happen here from now on.

As you can see above, you each should use the command @editorialbot generate my checklist to create your review checklist. @editorialbot commands need to be the first thing in a new comment.

As you go over the submission, please check any items that you feel have been satisfied. There are also links to the JOSS reviewer guidelines.

The JOSS review is different from most other journals. Our goal is to work with the authors to help them meet our criteria instead of merely passing judgment on the submission. As such, reviewers are encouraged to submit issues and pull requests on the software repository. When doing so, please mention openjournals/joss-reviews#4762 so that a link is created to this thread (and I can keep an eye on what is happening). Please also feel free to comment and ask questions on this thread. In my experience, it is better to post comments/questions/suggestions as you come across them instead of waiting until you've reviewed the entire package.

We aim for reviews to be completed within about 2-4 weeks. Please let me know if either of you require some more time. We can also use editorialbot (our bot) to set automatic reminders if you know you'll be away for a known period of time.

Please feel free to ping me (@danielskatz) if you have any questions/concerns.

@danielskatz
Copy link

👋 @Ajstros (Abraham Stroschein) - please work on the possibly missing DOI and incorrectly prefixed DOI that editorialbot suggests, but note that the missing one may be incorrect. Please feel free to make changes to your .bib file, then use the command @editorialbot check references to check again, and the command @editorialbot generate pdf when the references are right to make a new PDF. editorialbot commands need to be the first entry in a new comment.

@Ajstros
Copy link

Ajstros commented Sep 18, 2022

@editorialbot check references

@editorialbot
Copy link
Collaborator Author

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

OK DOIs

- 10.1063/1.5001312 is OK
- 10.1016/j.bpj.2021.11.1391 is OK
- 10.5281/zenodo.777229 is OK
- 10.5281/zenodo.3732545 is OK
- 10.1080/08940886.2019.1608121 is OK

MISSING DOIs

- 10.1145/2851581.2890266 may be a valid DOI for title: FrontPanel®

INVALID DOIs

- None

@Ajstros
Copy link

Ajstros commented Sep 18, 2022

@editorialbot generate pdf

@editorialbot
Copy link
Collaborator Author

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@Ajstros
Copy link

Ajstros commented Sep 18, 2022

@danielskatz Thank you for the note. The invalid DOI has been fixed, and the suggested missing DOI is incorrect.

@danielskatz
Copy link

👋 @untzag and @askuric - please go ahead and use the command @editorialbot generate my checklist to create your review checklist. @editorialbot commands need to be the first thing in a new comment. Then you can get started on your reviews, and track which criteria you feel are satisfied by the submission and which need discussion with or action from the author

@askuric
Copy link

askuric commented Sep 27, 2022

Review checklist for @askuric

Conflict of interest

  • 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

  • Repository: Is the source code for this software available at the https://github.com/Ajstros/pyripherals?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@Ajstros) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines
  • Data sharing: If the paper contains original data, data are accessible to the reviewers. If the paper contains no original data, please check this item.
  • Reproducibility: If the paper contains original results, results are entirely reproducible by reviewers. If the paper contains no original results, please check this item.
  • Human and animal research: If the paper contains original data research on humans subjects or animals, does it comply with JOSS's human participants research policy and/or animal research policy? If the paper contains no such data, please check this item.

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • 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

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • 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

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of need' that clearly states what problems the software is designed to solve, who the target audience is, and its relation to other work?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • 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?

@untzag
Copy link

untzag commented Sep 29, 2022

Review checklist for @untzag

Conflict of interest

  • 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

  • Repository: Is the source code for this software available at the https://github.com/Ajstros/pyripherals?
  • License: Does the repository contain a plain-text LICENSE file with the contents of an OSI approved software license?
  • Contribution and authorship: Has the submitting author (@Ajstros) made major contributions to the software? Does the full list of paper authors seem appropriate and complete?
  • Substantial scholarly effort: Does this submission meet the scope eligibility described in the JOSS guidelines
  • Data sharing: If the paper contains original data, data are accessible to the reviewers. If the paper contains no original data, please check this item.
  • Reproducibility: If the paper contains original results, results are entirely reproducible by reviewers. If the paper contains no original results, please check this item.
  • Human and animal research: If the paper contains original data research on humans subjects or animals, does it comply with JOSS's human participants research policy and/or animal research policy? If the paper contains no such data, please check this item.

Functionality

  • Installation: Does installation proceed as outlined in the documentation?
  • Functionality: Have the functional claims of the software been confirmed?
  • 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

  • A statement of need: Do the authors clearly state what problems the software is designed to solve and who the target audience is?
  • Installation instructions: Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.
  • Example usage: Do the authors include examples of how to use the software (ideally to solve real-world analysis problems).
  • Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?
  • 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

  • Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?
  • A statement of need: Does the paper have a section titled 'Statement of need' that clearly states what problems the software is designed to solve, who the target audience is, and its relation to other work?
  • State of the field: Do the authors describe how this software compares to other commonly-used packages?
  • Quality of writing: Is the paper well written (i.e., it does not require editing for structure, language, or writing quality)?
  • 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?

@untzag
Copy link

untzag commented Sep 29, 2022

@Ajstros you might want to look into formatting details for your paper, some of the lines are escaping the page.

@Ajstros
Copy link

Ajstros commented Oct 1, 2022

@editorialbot generate pdf

@editorialbot
Copy link
Collaborator Author

👉📄 Download article proof 📄 View article proof on GitHub 📄 👈

@Ajstros
Copy link

Ajstros commented Oct 1, 2022

Thanks @untzag, those lines have been fixed now.

@askuric
Copy link

askuric commented Oct 2, 2022

Hi everyone,
My review of Pyripherals is here:

Pyripherals

Pyripherals is a python pip package facilitating the communication to different FPGA based peripheral devices. It provides an user-friendly abstraction layer to different communication protocols and implements interfaces to many different standard FPGA based data acquisition devices. This all makes Pyripherals an useful tool for setting up an experiments requiring real-time data exchange.

Paper comments

Text:

  • line 12:
    "yet the Python developments are generally useful to interface to electronic chips containing registers."
    • Maybe a bit too general, as all the electronics chips and microcontrollers contain registers at some level. Maybe you could you be a bit more specific and say that it is for the "communication".
  • line 37:
    " The Opal Kelly XEM7310 FPGA that we use for communication controllers to demonstrate pyripherals is common in research environments which allows other labs to accelerate their development of FPGA to electronic chip interfaces using pyripherals."
    • Some commas are probably necessary here :D
  • table page 2:
    • It would be maybe good to have a caption and to explain each one of the table entries to the reader, as not everyone will be able to understand those. And maybe refer how the name 'ABC012' corresponds to the table entries, if it does. If it doesn't, maybe it would be a good idea to use a more descriptive name that 'ABC012', like 'MyPeripheral' or something like that.
  • line 69:
    "The line below shows an example that defines an endpoint named “WRITE_IN” that belongs to peripheral “ABC012” with an address of 0x04 and a bit_width of 32 that adds 7 to the address every time it is advanced."
    • I would suggest to add a sentence or two before this line (or after the line 65) to explain what the endpoint actually is and how it is defined. It would probably be easier to understand each of the parameters than learning it directly from the example.
    • I'd also suggest to change the name of the endpoint to something more descriptive, "WRITE_IN" an input I imagine, but an input of the FPGA or the PC?
    • Also, maybe it would be a good idea to mention that the 8'h means 8 bit hex number for the sake of clarity, even though it is described in the documentation.
  • line 86:
    "Using the Endpoint class in pyripherals with a definitions file extends the capabilities of the Opal Kelly FrontPanel API by automatically linking the Python and Verilog endpoint data.
    • Few commas missing, maybe also repharse it to be more clear.
  • Something to consider
    • Maybe it would be a good idea to add a paragraph at the begging of the Summary section explaining in broad terms the functioanllity of the code and the general stracture. We have a PC, a FPGA and the communication protoclo which has registers and endpoints.
    • Also there you coul add a schematic of the peripheral communication showing a PC, FPGA, the communication and maybe endpoints or registers, I'm not sure how it should look exactly. But a visual could help in understanding better all the components.

Documentation commnets

  • tests:
    • the line py -m pytest -m usable, I am not sure if it's just me by py does not work only with pytest installed. I'd suggest to use python -m pytest -m usable.
    • I've also have one of the tests failing: [JOSS REVIEW] tests no_fpga failing Ajstros/pyripherals#22
    • You could also look into setting up the testing procedure using github CI (the github actions). That way every github commit would be automatically tested.
  • Community guidelines:
    • You have a very nice guide for contributing the new peripheral.
    • However it might be a good idea to make it more general, if people are motivated to contribute by adding a functionality to the existing code, correcting bugs, improve the code efficiency or any other form of contribution.

Code comments

  • The code is well structured and written, and the unit tests are provided.
  • I was not able to test the functionality of the code as I do not have the hardware necessary.
  • The installation procedure is well documented and I had no trouble installing the package and running simple examples.

@danielskatz
Copy link

@Ajstros - can you respond to the comments from @askuric above?

@danielskatz
Copy link

Thanks @untzag, those lines have been fixed now.

@untzag - can you now make further progress on your review? Or is anything blocking you?

@Ajstros
Copy link

Ajstros commented Oct 5, 2022

Yes, I will work on addressing those comments this week. Thanks for the feedback!

@editorialbot
Copy link
Collaborator Author

👋 @danielskatz, please take a look at the state of the submission (this is an automated reminder).

@danielskatz
Copy link

👋 @askuric - can you take a look at this again?

And thanks for your updates & responses @lucask07.

@askuric
Copy link

askuric commented Nov 8, 2022

Hi everyone,

Sorry for keeping you waiting.
The paper looks good to me and the changes address all of my comments, so from my side it is ready for publishing.
Great work @lucask07 and @Ajstros.

@lucask07
Copy link

lucask07 commented Nov 9, 2022

Thank you @askuric for your time!

If you feel ok with it can you check off the last box in your checklist of "Summary: Has a clear description of the high-level functionality and purpose of the software for a diverse, non-specialist audience been provided?"

@askuric
Copy link

askuric commented Nov 9, 2022

Ah yes, I've forgotten about that. Done.

@lucask07
Copy link

lucask07 commented Nov 9, 2022

@danielskatz
Adding a notification for you since all of the reviewer checkboxes have been completed. Thanks for your work on this submission.

@danielskatz
Copy link

👋 @Ajstros - At this point could you:

  • Make a tagged release of your software, and list the version tag of the archived version here.
  • Archive the reviewed software in Zenodo or a similar service (e.g., figshare, an institutional repository)
  • Check the archival deposit (e.g., in Zenodo) has the correct metadata. This includes the title (should match the paper title) and author list (make sure the list is correct and people who only made a small fix are not on it). You may also add the authors' ORCID.
  • Please list the DOI of the archived version here.

I can then move forward with proofreading the paper, then moving the submission to acceptance.

@untzag
Copy link

untzag commented Nov 9, 2022

Congrats @Ajstros @lucask07 this is great work

@Ajstros
Copy link

Ajstros commented Nov 9, 2022

@editorialbot set v0.0.3 as version

@editorialbot
Copy link
Collaborator Author

I'm sorry @Ajstros, I'm afraid I can't do that. That's something only editors are allowed to do.

@Ajstros
Copy link

Ajstros commented Nov 9, 2022

@danielskatz the new release is v0.0.3. I have uploaded to Zenodo and checked the metadata. The DOI is 10.5281/zenodo.7308636

@danielskatz
Copy link

@editorialbot set v0.0.3 as version

@editorialbot
Copy link
Collaborator Author

Done! version is now v0.0.3

@danielskatz
Copy link

@editorialbot set 10.5281/zenodo.7308636 as archive

@editorialbot
Copy link
Collaborator Author

Done! Archive is now 10.5281/zenodo.7308636

@danielskatz
Copy link

@editorialbot recommend-accept

I will next proofread the result of this

@editorialbot
Copy link
Collaborator Author

Attempting dry run of processing paper acceptance...

@editorialbot
Copy link
Collaborator Author

👋 @openjournals/pe-eics, this paper is ready to be accepted and published.

Check final proof 👉📄 Download article

If the paper PDF and the deposit XML files look good in openjournals/joss-papers#3704, then you can now move forward with accepting the submission by compiling again with the command @editorialbot accept

@editorialbot editorialbot added the recommend-accept Papers recommended for acceptance in JOSS. label Nov 10, 2022
@editorialbot
Copy link
Collaborator Author

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

OK DOIs

- 10.1063/1.5001312 is OK
- 10.1016/j.bpj.2021.11.1391 is OK
- 10.5281/zenodo.777229 is OK
- 10.5281/zenodo.3732545 is OK
- 10.1080/08940886.2019.1608121 is OK

MISSING DOIs

- 10.1145/2851581.2890266 may be a valid DOI for title: FrontPanel®

INVALID DOIs

- None

@danielskatz
Copy link

👋 @openjournals/pe-eics - I will handle the rest of the processing for this one

@danielskatz
Copy link

@editorialbot accept

the draft looks good to me as-is

@editorialbot
Copy link
Collaborator Author

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

@editorialbot
Copy link
Collaborator Author

🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦

@editorialbot
Copy link
Collaborator Author

🚨🚨🚨 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 👉 Creating pull request for 10.21105.joss.04762 joss-papers#3706
  2. Wait a couple of minutes, then verify that the paper DOI resolves https://doi.org/10.21105/joss.04762
  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...

@editorialbot editorialbot added accepted published Papers published in JOSS labels Nov 10, 2022
@danielskatz
Copy link

Congratulations to @Ajstros (Abraham Stroschein) and co-authors!!

And thanks to @untzag and @askuric for reviewing!
We couldn't do this without you

@editorialbot
Copy link
Collaborator Author

🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉

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

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

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

This is how it will look in your documentation:

DOI

We need your help!

The 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted published Papers published in JOSS Python recommend-accept Papers recommended for acceptance in JOSS. review TeX Track: 3 (PE) Physics and Engineering
Projects
None yet
Development

No branches or pull requests

6 participants