-
Notifications
You must be signed in to change notification settings - Fork 11
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
[JOSS review] Improvements to "Getting started" in docs #21
Comments
Thank you, your recommendations have been carefully considered!
A new structure has been set for Getting started, based on your suggestions.
Yes, this has been precised.
This
I will discuss this with a colleague and try to enhance the documentation regarding such issue. Nice that you still managed to run the scripts!
This is correct, the package had not been updated for quite some time. A new REHO 1.1.0 version is now available, I hope everything will work fine. |
I have the following additional suggestions for your documentation.
I have created a separate issue for the warnings that appeared when running the scripts at #24. |
Thank you for these suggestions!
|
There are ways to integrate Jupyter notebooks with Sphinx. See https://docs.readthedocs.io/en/stable/guides/jupyter.html. You can consider these in the future to enhance the documentation. This is not a requirement for the review.
There are a number of plots generated when running the examples and a title (at least) would provide some context to users to better interpret the results.
This is good enough. |
A Jupyter Notebook has now been included in the documentation (b7d869a), and is visible here: https://reho.readthedocs.io/en/main/sections/Notebook.html
All the functions in plotting.py now have a |
openjournals/joss-reviews#6734
In your documentation, you start off with two alternatives for installing REHO: PyPI and from source. However, the 'Requirements' section only talks about installing REHO from source. I suggest slightly reorganising your steps as follows:
Furthermore, you should recommend users to install the package in a
venv
(you have stated this in the README but not in the docs). Also, theexample.env
file in the docs has only one variable (AMPL_PATH
), but the one included in the REHO repo has two (AMPL_PATH
andAPI_VESE_KEY
).Regarding the relative path issue which you have documented in #13, I think this is not limited to VS Code. If I run your scripts in a standalone terminal, I still encounter the issue. Also, setting
"python.terminal.executeInFileDir": true
didn't work for me as it producedFileNotFoundError: The relative path that was given is not a valid file.
. Do you have a solution for this? I think terminals usually expect the paths to be defined relative to the working directory. I was able to run your scripts by first doingcd scripts/template/
and thenpython run.py
andpython plot.py
.I was able to run
run.py
andplot.py
when REHO is installed from source, but not when it's installed from PyPI. It looks like the PyPI version is out of date and is missing dependencies, i.e.coloredlogs
andpvlib
.Additionally, when I run
run.py
, the following warning occurs:The text was updated successfully, but these errors were encountered: