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
Classes #67
Conversation
…ntermediate commit.
…ewerSetup. Still to be tested.
I'm taking a look, but one initial comment. Why choose to make I also updated the api documentation. |
The rationale is: each file has a name close to its associated class eg ViewerCDS, ViewerPlot etc. I'd rather avoid class names "CDS", "Plot", etc, such names would be too generic, too easy to be confused with. On the other hand, I fully agree to have eg class ViewerCDS implemented in viewer/cds.py, if you think it's better. |
Indeed. When you use names like |
In from ..utilities import match_zbest_to_spectra, match_vi_targets #, miniplot_spectrum There is no such function |
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.
I found an apparently misplaced class, but overall I think this looks fine. We just need to do a full test with data on various systems. I should be able to test on Data Lab with SDSS data later this week. There are some problems with that system right now.
PS, Let's not attempt the rearrangement |
Indeed. This script specview_per_expo.py is outdated since early cmx - but I won't update it in this branch. |
OK, let's move to testing on DESI & SDSS data next. |
I redid the tests:
Looks ok for me. If you agree I would prefer to rearrange the dir tree, eg |
I'll test on Data Lab as soon as I can. |
Last commits 53b2c88 : changed the dir tree as suggested. Tested on notebooks+scripts, ok on my side. |
I tested on Data Lab this morning and found no problems. Merge when ready. After merge I will create a new tag. |
I also added an update to one notebook. |
Ready to merge on my side.