-
Notifications
You must be signed in to change notification settings - Fork 1
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
Suggestions for improvement #1
Comments
@jbussemaker regarding the author list: JOSS does not require that all paper authors have contributed source code, since people can contribute in other ways (direction, etc.) |
Dear @jbussemaker, I've started working on these and I've already introduced the .gitignore file. Could you please elaborate on the dependencies...? I am a bit inexperienced on creating python packages, this is my first time. |
@spinjet yes sure! The link I provided for the point after the "dependencies" actually contains a bit about specifying dependencies in a Some other links I found through a quick google query: |
Here is another good guide to making an installable package: https://packaging.python.org/en/latest/tutorials/packaging-projects/ |
Progress so far: Software Engineering (Python)Important:
Suggestions:
Paper
@kyleniemeyer, @jbussemaker I'm going to be addressing the tests soon, I'll try to add a few using |
Hi @spinjet - good progress! I might suggest that for simplicity, you just include your package's dependencies directly in the |
And I just wanted to note that publishing on PyPI is also possible by CI/CD workflow, to automate most of it: |
Dear @kyleniemeyer @jbussemaker I've been writing tests and integrating them with pytest and GitHub actions, I am close to completion to this task. Hopefully this should be done by the week along with the CI for publishing! |
Great, thanks for the update @spinjet! |
As mentioned in openjournals/joss-reviews#6110 (comment) |
@spinjet great progress here One comment about the |
Added a almost completed section for State of the Field with relevant references. |
Dear @jbussemaker. Hope this is satisfactory from the paper side, I'll focus on publishing in PyPI and having an online version of the documentation (especially for the API). |
Online documentation is complete and online. Last task is creating a release version and publishing to PyPI. |
Code has been published on PyPI: https://pypi.org/project/pdopt/ @jbussemaker Let me know if you are satisfied with the completion of the tasks. |
@spinjet after these small updates, I am satisfied:
|
@jbussemaker Thank you again for the feedback. |
Thank you! Then I will go ahead and close this issue, and recommend publication :) Very nice work! |
I'm currently reviewing the JOSS submission, and I have some suggestions to improve code quality and usability. I did not install/run any code yet, I'll get to that soon.
Software Engineering (Python)
Important:
.gitignore
file to remove all contents from the repository that should not be there, for example pycache folder, dist/build folders. You can go to https://www.toptal.com/developers/gitignore/ and enter Python, PyCharm, Windows, etc. to get a good default .gitignore file.pyproject.toml
file: this file tells Python dependency management tools what tool should be used to install the library (in PDOPT's case: setuptools). Some info: https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/cpu_test.py
; a big chunk ofdata.py
)Suggestions:
Paper
@kyleniemeyer I'd like to know your opinion about the paper authors: I can only find code contributions by Andrea Spinelli, however Timoleon Kipouros is also listed as an author
The text was updated successfully, but these errors were encountered: