Skip to content

MontePy Submission #205

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

Closed
19 of 32 tasks
MicahGale opened this issue Jul 1, 2024 · 65 comments
Closed
19 of 32 tasks

MontePy Submission #205

MicahGale opened this issue Jul 1, 2024 · 65 comments

Comments

@MicahGale
Copy link

MicahGale commented Jul 1, 2024

Submitting Author: @MicahGale
All current maintainers: @MicahGale, @tjlaboss
Package Name: MontePy
One-Line Description of Package: MontePy is a python library for reading, editing, and writing MCNP input files.
Repository Link: https://github.com/idaholab/MontePy
Version submitted: 0.2.10
EiC: @cmarmo
Editor: @kellyrowland
Reviewer 1: @munkm
Reviewer 2: @jpmorgan98
Archive: DOI
JOSS DOI: https://joss.theoj.org/papers/10.21105/joss.07951
Version accepted: 0.5.5
Date accepted (month/day/year): 03/19/2025


Code of Conduct & Commitment to Maintain Package

Description

  • Include a brief paragraph describing what your package does:

MontePy is a Python library for reading, editing, and writing MCNP input files. MCNP is the Monte Carlo N-Particle radiation transport code that supports 37 particle types, and is widely used in Nuclear Engineering, and Medical Physics. MontePy provides an object-oriented interface for MCNP input files. This allows for easy automation of many different tasks for working with MCNP input files. MontePy does not support MCNP output files

Scope

  • Please indicate which category or categories.
    Check out our package scope page to learn more about our
    scope. (If you are unsure of which category you fit, we suggest you make a pre-submission inquiry):

    • Data retrieval
    • Data extraction
    • Data processing/munging
    • Data deposition
    • Data validation and testing
    • Data visualization1
    • Workflow automation
    • Citation management and bibliometrics
    • Scientific software wrappers
    • Database interoperability

Domain Specific

  • Geospatial
  • Education

Community Partnerships

If your package is associated with an
existing community please check below:

  • For all submissions, explain how and why the package falls under the categories you indicated above. In your explanation, please address the following points (briefly, 1-2 sentences for each):

    • Who is the target audience and what are scientific applications of this package?

      • Scientists and engineers who use MCNP and know python are the primary audience. This will be mostly nuclear engineers, and medical physicists. Use cases are:

      • Automating tedious updates of simulation models (e.g., renumbering all materials to merge two models)

      • Automating generating many permutations of the model for optimization, sensitivity analysis, etc.

      • Extracting information from an existing model in a more legible way.

    • Are there other Python packages that accomplish the same thing? If so, how does yours differ?

      • There is also MCNPy, which reports to provide similar features. I have been unable to verify this as I have been unable to install it. MontePy is different by being written purely in python, and not java, and having a publicly accessible github, that anyone can open an issue for.
    • If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted:

Technical checks

For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:

  • does not violate the Terms of Service of any service it interacts with.
  • uses an OSI approved license.
  • contains a README with instructions for installing the development version.
  • includes documentation with examples for all functions.
  • contains a tutorial with examples of its essential functions and uses.
  • has a test suite.
  • has continuous integration setup, such as GitHub Actions CircleCI, and/or others.

Publication Options

JOSS Checks
  • The package has an obvious research application according to JOSS's definition in their submission requirements. Be aware that completing the pyOpenSci review process does not guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS.
  • The package is not a "minor utility" as defined by JOSS's submission requirements: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria.
  • The package contains a paper.md matching JOSS's requirements with a high-level description in the package root or in inst/.
  • The package is deposited in a long-term repository with the DOI:

Note: JOSS accepts our review as theirs. You will NOT need to go through another full review. JOSS will only review your paper.md file. Be sure to link to this pyOpenSci issue when a JOSS issue is opened for your package. Also be sure to tell the JOSS editor that this is a pyOpenSci reviewed package once you reach this step.

Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?

This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.

  • Yes I am OK with reviewers submitting requested changes as issues to my repo. Reviewers will then link to the issues in their submitted review.

Confirm each of the following by checking the box.

  • I have read the author guide.
  • I expect to maintain this package for at least 2 years and can help find a replacement for the maintainer (team) if needed.

Please fill out our survey

P.S. Have feedback/comments about our review process? Leave a comment here

Editor and Review Templates

The editor template can be found here.

The review template can be found here.

Footnotes

  1. Please fill out a pre-submission inquiry before submitting a data visualization package.

@cmarmo
Copy link
Member

cmarmo commented Jul 9, 2024

Editor in Chief checks

Hi @MicahGale ! Thank you for submitting your package for pyOpenSci review.
Below are the basic checks that your package needs to pass to begin our review.
If some of these are missing, we will ask you to work on them before the review process begins.

Please check our Python packaging guide for more information on the elements
below.

  • Installation The package can be installed from a community repository such as PyPI (preferred), and/or a community channel on conda (e.g. conda-forge, bioconda).
    • The package imports properly into a standard Python environment import package.
  • Fit The package meets criteria for fit and overlap.
  • Documentation The package has sufficient online documentation to allow us to evaluate package function and scope without installing the package. This includes:
    • User-facing documentation that overviews how to install and start using the package.
    • Short tutorials that help a user understand how to use the package and what it can do for them.
    • API documentation (documentation for your code's functions, classes, methods and attributes): this includes clearly written docstrings with variables defined using a standard docstring format.
  • Core GitHub repository Files
    • README The package has a README.md file with clear explanation of what the package does, instructions on how to install it, and a link to development instructions.
    • Contributing File The package has a CONTRIBUTING.md file that details how to install and contribute to the package.
    • Code of Conduct The package has a CODE_OF_CONDUCT.md file.
    • License The package has an OSI approved license.
      NOTE: We prefer that you have development instructions in your documentation too.
  • Issue Submission Documentation All of the information is filled out in the YAML header of the issue (located at the top of the issue template).
  • Automated tests Package has a testing suite and is tested via a Continuous Integration service.
  • Repository The repository link resolves correctly.
  • Package overlap The package doesn't entirely overlap with the functionality of other packages that have already been submitted to pyOpenSci.
  • Archive (JOSS only, may be post-review): The repository DOI resolves correctly.
  • Version (JOSS only, may be post-review): Does the release version given match the GitHub release (v1.0.0)?

  • Initial onboarding survey was filled out
    We appreciate each maintainer of the package filling out this survey individually. 🙌
    Thank you authors in advance for setting aside five to ten minutes to do this. It truly helps our organization. 🙌


Editor comments

MontePy is in very good shape, congratulations to all the maintainers for your hard work!

Some comments about the checklist above.

  • In the documentation about the installation of a specific version : I strongly recommend to remove any manual process creating symbolic links and installing requirements in a folder. Virtual environments should always be preferred and you can install specific versions/tags/branches or commit in them with
pip install git+https://github.com/idaholab/MontePy.git@<your-version/tag/branch/commit>
  • The README.md redirects to the documentation for details about the installation: may I suggest to explicitely add the command pip install? This will clarify that the package is available from pypi but not from any conda channel.
  • The code of conduct is linked in contributing.md (btw thanks for expliciting the contact e-mail) but the file is missing and the link gives a "404 not found".

Minor comments not needed to start the review:

  • the documentation generally moves from more readable contents to more technical and detailed contents: I would have put the API at the end of the documentation.
  • wearing my data processing engineer hat, I would be grateful to have a safe default option backupping original files when overwriting ... I was checking basic usage documentation and the behaviour of your writing function really scared me.... 😅

Final note: I enjoyed this quote from your documentation 🪄

Creating a new universe is very straight forward. You just need to initialize it with a new number

@MicahGale
Copy link
Author

MicahGale commented Jul 10, 2024

@cmarmo thank you for the feedback!

I have opened this PR: idaholab/MontePy#440 to address this feedback.

In the documentation about the installation of a specific version : I strongly recommend to remove any manual process creating symbolic links and installing requirements in a folder. Virtual environments should always be preferred and you can install specific versions/tags/branches or commit in them with

These directions are old and from when this was an internal tool. I just removed them and instead pointed to using pip install montepy==<version>. Most versions are on PyPI, and those that aren't, can't be because they don't have an OSS license yet. So if someone really wants that old of a version I think they will figure it out on their own how to manage.

The README.md redirects to the documentation for details about the installation: may I suggest to explicitely add the command pip install? This will clarify that the package is available from pypi but not from any conda channel.

Added the command.

The code of conduct is linked in contributing.md (btw thanks for expliciting the contact e-mail) but the file is missing and the link gives a "404 not found".

Corrected this and actually added a boilerplate code of conduct.

the documentation generally moves from more readable contents to more technical and detailed contents: I would have put the API at the end of the documentation.

Good point. I updated the index to list the API documentation last.

wearing my data processing engineer hat, I would be grateful to have a safe default option backupping original files when overwriting ... I was checking basic usage documentation and the behaviour of your writing function really scared me.... 😅

This warning was written when MontePy used to discard user formatting and comments, which is no longer the case. write_to_file has no default option that would override the original file. I think now the only real risk with overwriting the original file is having a script that is buggy and accidentally changing the model. I changed the warning to discourage this sort of workflow for making script development easier.

After more consideration (mostly from others) I think this behavior should be changed, and an issue has been opened: idaholab/MontePy#442.

Final note: I enjoyed this quote from your documentation 🪄

Creating a new universe is very straight forward. You just need to initialize it with a new number

I forget sometimes about how silly the concept of universes are in these models is sometimes especially when working with them.

@cmarmo
Copy link
Member

cmarmo commented Jul 17, 2024

Thank you @MicahGale for your prompt response to my comments.
Let me know when your PR is merged so I can start looking for an editor.

@MicahGale
Copy link
Author

Ok this PR has been merged.

@cmarmo
Copy link
Member

cmarmo commented Jul 19, 2024

Thank you @MicahGale !
Your package looks ready for review to me.

I noticed that you submitted to JOSS independently (see openjournals/joss-reviews#6977): may I suggest to merge the two submissions, as pyOpenSci has a partnership with JOSS.
This will also lower the pression on our two communities, as both pyOpenSci and JOSS are based on volounteer engagement.
If you are ok with that I can comment on the related JOSS issue and we can follow up here.

@cmarmo cmarmo self-assigned this Jul 19, 2024
@lwasser lwasser moved this from pre-review-checks to seeking-editor in peer-review-status Jul 19, 2024
@MicahGale
Copy link
Author

Yes let's merge them if that makes sense. I just did things in a bit of a different order.

@cmarmo
Copy link
Member

cmarmo commented Aug 13, 2024

Hello @MicahGale , I'm glad to announce that @kellyrowland has accepted to be editor for the MontePy review.
Thank you so much Kelly!

I'm letting her introduce herself here and I wish to all of you a happy review process! 🚀 :

@cmarmo cmarmo removed their assignment Aug 13, 2024
@lwasser lwasser moved this from seeking-editor to under-review in peer-review-status Aug 13, 2024
@kellyrowland
Copy link
Collaborator

Hi -

This is my first engagement with pyOpenSci, so thanks in advance for your patience. 😅 I've been an editor for JOSS for a few years, and that's how we've arrived here.

@MicahGale before I get started on finding reviewers, I see there are a set of JOSS-related boxes to tick off - can you take a look at those and check them off/open PRs/etc. and let me know about the status of those items?

Thanks for tagging some possible reviewers over in openjournals/joss-reviews#6977 - I'll ping folks in this issue and make a post with the editor template once we've got two reviewers on board.

-Kelly

@MicahGale
Copy link
Author

MicahGale commented Aug 16, 2024

Thank you for being willing to do this new role for this package. :)

Ok I updated the JOSS section accordingly.

The one concern I had was about getting a DOI for archiving the software. Under the JOSS guidelines it seems like that's a final step?

Upon successful completion of the review, authors will make a tagged release of the software, and deposit a copy of the repository with a data-archiving service such as Zenodo or figshare, get a DOI for the archive, and update the review issue thread with the version number and DOI.

Are you alright with following the JOSS order for this?

@kellyrowland
Copy link
Collaborator

Good point, thanks. I think archiving the release and getting a DOI is a logical last step since it's often the case that changes are made to the software during the review process.

@kellyrowland
Copy link
Collaborator

@cmarmo it looks like the remaining "Core GitHub repository Files" item is set - could you please take a look and check that off at your earliest convenience? I think I should be set to ping potential reviewers at that point.

@cmarmo
Copy link
Member

cmarmo commented Aug 20, 2024

Done! Thank you Kelly!

@kellyrowland
Copy link
Collaborator

hi @paulromano @munkm 👋 would you be interested in and available to review this pyOpenSci submission?

the reviewer template that you would use can be seen at https://www.pyopensci.org/software-peer-review/appendices/templates.html#peer-review-template .

if you're not available for the review, could you suggest other potential reviewers for the package?

@munkm
Copy link

munkm commented Aug 22, 2024

I would love to! But I won't be able to review until after September 15th. Will that be an issue? If it is, I'll suggest an alternate.

@kellyrowland
Copy link
Collaborator

@MicahGale does the above timeline work for you?

@MicahGale
Copy link
Author

@munkm I don't think you get notified when we tag you in the MontePy repository. I have taken a first draft at addressing your comments. When you are able to, could you please review them? I just wanted to link to the PRs here as well for your convenience:

@munkm
Copy link

munkm commented Feb 12, 2025

Hey @MicahGale thanks for tagging me there and here. I did get notified by your tags, but this extra linking is helpful. I'll review them asap.

@kellyrowland
Copy link
Collaborator

hi @munkm have you been able to take a look at the recent round of updates?

@munkm
Copy link

munkm commented Mar 17, 2025

Hi @MicahGale and @kellyrowland ! I've reviewed the PRs that were submitted to MontePy by @MicahGale and they satisfy all of my comments from review. I'm happy to approve with those additions included.

@MicahGale I think I've reviewed the PRs that you tagged me in, but let me know if I missed anything.

@MicahGale
Copy link
Author

@munkm, no you got them all. Thank you for the review!

@MicahGale
Copy link
Author

MicahGale commented Mar 18, 2025

@kellyrowland it sounds like we've got all the review comments addressed.

What are the next steps? I think we might be ready for step 6: package acceptance.

@kellyrowland
Copy link
Collaborator

yep, I think it's about that time. 🚀

@MicahGale please create a new Github release with the changes if you haven't already; ideally since we're going to do the companion JOSS paper this will be the release and version to which the archive and DOI that you'll create will match up with so that's all done in one fell swoop. I'll note here that we ask authors to put the archive on somewhere like Zenodo and then post the DOI (that can go in the JOSS issue and we can follow up there on JOSS specifics).

@cmarmo are there any steps for you to take now?

@MicahGale
Copy link
Author

MicahGale commented Mar 19, 2025

@kellyrowland I found this checklist/template in the editor guide for you. It looks like there's just a few things to wrap up.

I am checking with our organization admin on github for adding the Zenodo integration, and will hopefully get that figured out in the next few days. I'll be doing the release to finalize this review later today (that will be version 0.5.5).

Update: 0.5.5 has been released to PyPI. TODO list:

  • enable Zenodo
  • publish draft release on GH
  • Publish to conda-forge

@MicahGale
Copy link
Author

MontePy has been published on Zenodo: DOI

Note: however, we had a previous DOI for MontePy, so the DOI link does not go to Zenodo. The Zenodo archive is here. Is this an issue?

@cmarmo
Copy link
Member

cmarmo commented Mar 20, 2025

@cmarmo are there any steps for you to take now?

Not really... :) a part thank you all for all your work!
I am not sure though that the zenodo archive is necessary as MontePy was already declared on the U.S. Department of Energy Office of Scientific and Technical Information archive...
I guess it's up to the author to decide which one they prefer keeping updated.

@lwasser
Copy link
Member

lwasser commented Apr 30, 2025

hi everyone 👋🏻 i wasn't able to find the acceptance checklist here to finish updating the YAML file and close this review. i'm going to paste it here. (UNLESS I MISSED IT) and then ask for some help filling it out 🚀 (We parse these issues so this information is needed!!)


🎉 MontePy has been approved by pyOpenSci! Thank you @MicahGale, @tjlaboss for submitting MontePy and many thanks to @munkm @jpmorgan98 for reviewing this package! 😸

Author Wrap Up Tasks

There are a few things left to do to wrap up this submission:

  • Activate Zenodo watching the repo if you haven't already done so.
  • Tag and create a release to create a Zenodo version and DOI.
  • Add the badge for pyOpenSci peer-review to the README.md of . The badge should be [![pyOpenSci Peer-Reviewed](https://pyopensci.org/badges/peer-reviewed.svg)](https://github.com/pyOpenSci/software-review/issues/issue-number).
  • Please fill out the post-review survey. All maintainers and reviewers should fill this out.
It looks like you would like to submit this package to JOSS. Here are the next steps:
  • Once the JOSS issue is opened for the package, we strongly suggest that you subscribe to issue updates. This will allow you to continue to update the issue labels on this review as it goes through the JOSS process.
  • Login to the JOSS website and fill out the JOSS submission form using your Zenodo DOI. When you fill out the form, be sure to mention and link to the approved pyOpenSci review. JOSS will tag your package for expedited review if it is already pyOpenSci approved.
  • Wait for a JOSS editor to approve the presubmission (which includes a scope check).
  • Once the package is approved by JOSS, you will be given instructions by JOSS about updating the citation information in your README file.
  • When the JOSS review is complete, add a comment to your review in the pyOpenSci software-review repo here that it has been approved by JOSS. An editor will then add the JOSS-approved label to this issue.

🎉 Congratulations! You are now published with both JOSS and pyOpenSci! 🎉

Editor Final Checks

Please complete the final steps to wrap up this review. Editor, please do the following:

  • Make sure that the maintainers filled out the post-review survey
  • Invite the maintainers to submit a blog post highlighting their package. Feel free to use / adapt language found in this comment to help guide the author.
  • Change the status tag of the issue to 6/pyOS-approved6 🚀🚀🚀.
  • Invite the package maintainer(s) and both reviewers to slack if they wish to join.
  • If the author submits to JOSS, please continue to update the labels for JOSS on this issue until the author is accepted (do not remove the 6/pyOS-approved label). Once accepted add the label 9/joss-approved to the issue. Skip this check if the package is not submitted to JOSS.
  • If the package is JOSS-accepted please add the JOSS doi to the YAML at the top of the issue.

If you have any feedback for us about the review process please feel free to share it here. We are always looking to improve our process and documentation in the peer-review-guide.

@lwasser
Copy link
Member

lwasser commented Apr 30, 2025

@MicahGale @kellyrowland can you kindly fill me in here.
✅ I think the package was accepted on 19 march. But I also see that it went through JOSS.
✅ it looks like zenodo was added to the top and the version is 0.5.5 (thank you Micah!
✅ it also looks like you filled out the post survey -- THANK YOU. ✨

I think we are in good shape. i've added the JOSS doi, version accepted etc to the yaml header!

@lwasser
Copy link
Member

lwasser commented Apr 30, 2025

@MicahGale and EVERYONE involved in this review, if you are interested in joining our slack (if you aren't already there!) please email me at leah at pyopensci.org and i'll shoot you a link! Thank you for all of your collective time in running this review!! 🚀 i hope that you are all well and taking good care of yourselves during these tricky times. 💓

@MicahGale
Copy link
Author

Thank you @lwasser for finishing this up, and your support. I see that you have mention of a promotion blog post. Going through the blogs I haven't seen any recent package blogs. Is this still a thing? If so is there any guide on the process for this?

@lwasser
Copy link
Member

lwasser commented May 1, 2025

hi @MicahGale of course!! Blog posts are definitely still a thing and we welcome you to submit one!

If you have any questions, feel free to ask here OR you can also ask in Slack in our #software-review channel.
I'm open to updating our docs if you have questions so please do ask if things in the docs could be more clear!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: joss-accepted
Development

No branches or pull requests

6 participants