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
pip installable package #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Checked changes (however I'm basically not competent to check the pip/sphinx/readthedocs setup...) + basic prospect GUI working in notebook + pip install (but again I'm not experienced with pip).
-
Recommend to remove line 1577 in plotframes.py (line_file_dir var not used anymore)
-
Notebooks need to be adapted (simple change to import prospect.utilities)
This is an obvious change but users may have their own notebook (in particular to inspect some targetids), which won't work once prospect changes are propagated to desiconda.
I dont know how to warn them, appart sending an email to VI leads (there are probably very few people doing some VI now). -
Maybe now is also a good time to change the filename plotframes.py, and maybe the name of the main function in it, ie plotspectra() ? Again this will impact user's notebooks. Maybe something like prospect/create_gui/interface/viewer ... (I dont have any clear idea) ?
-
(For another git branch:) I'd like to restructure the code in plotframes.py: my intend is to make few classes (ProspectCDSData, ProspectPlots, ProspectWidgets), reducing the code length in plotframes.plotspectra(). And also move other functions from plotframes.py to other files. Do you have comments or other ideas?
Also I could make sure to restructure things so that large fractions of code could be directly used in plotspecutils.
@armengau , thank you for the good comments.
|
…te. I started editing Prospect_demo (has to be re-written entirely) but cannot finish that before nersc shutdown. Branch can still be merged to master.
I've removed the unused variable |
I've updated and tested Prospect_demo at nersc. It's ok to merge for me. |
Thank you for the testing @armengau. I'll merge now, and if we need further testing on the notebooks, we can open separate issues for that. |
This PR:
pip
. You can test this right now withpip install git+https://github.com/desihub/prospect.git@pip-installable-package#egg=prospect
.prospect.scripts
.