pyOpenSci / software-submission

Submit your package for review by pyOpenSci here! If you have questions please post them here: https://pyopensci.discourse.group/
92 stars 36 forks source link

MontePy Submission #205

Open MicahGale opened 1 month ago

MicahGale commented 1 month ago

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.3.3 EiC: @cmarmo Editor: @kellyrowland Reviewer 1: TBD
Reviewer 2: TBD
Archive: TBD JOSS DOI: TBD Version accepted: TBD Date accepted (month/day/year): TBD


Code of Conduct & Commitment to Maintain Package

Description

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

Domain Specific

Community Partnerships

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

[^1]: Please fill out a pre-submission inquiry before submitting a data visualization package.

Technical checks

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

Publication Options

JOSS Checks - [x] The package has an **obvious research application** according to JOSS's definition in their [submission requirements][JossSubmissionRequirements]. 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. - [x] The package is not a "minor utility" as defined by JOSS's [submission requirements][JossSubmissionRequirements]: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria. - [x] The package contains a `paper.md` matching [JOSS's requirements][JossPaperRequirements] 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.

Confirm each of the following by checking the box.

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.

cmarmo commented 1 month ago

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.



Editor comments

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

Some comments about the checklist above.

Minor comments not needed to start the review:

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 commented 1 month ago

@cmarmo thank you for the feedback!

I have opened this PR: https://github.com/idaholab/MontePy/pull/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: https://github.com/idaholab/MontePy/issues/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 commented 1 month ago

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 commented 1 month ago

Ok this PR has been merged.

cmarmo commented 1 month ago

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

I noticed that you submitted to JOSS independently (see https://github.com/openjournals/joss-reviews/issues/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.

MicahGale commented 1 month ago

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

cmarmo commented 1 week ago

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! :rocket: :

kellyrowland commented 1 week ago

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 https://github.com/openjournals/joss-reviews/issues/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 commented 1 week ago

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 commented 1 week ago

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 commented 6 days ago

@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 commented 6 days ago

Done! Thank you Kelly!

kellyrowland commented 3 days ago

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 commented 3 days ago

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 commented 3 days ago

@MicahGale does the above timeline work for you?

MicahGale commented 3 days ago

Yes, @kellyrowland, @munkm that timeline works me.