Conversation
…on to cli and comment slurm
fixes to make the GUI compatible with updated libs reworked client/server socket setup for propagating CLI progress
since CLI is running in a separate thread, assert for file check needs to wait. for now we are using 60s for the reconstruction to finish
- implemented client/server feedback strategy to test case - formatting
test_cli_apply_inv_tf_output seems to do an assert check on captured text. implemented an output from the client/server strategy
- removed client/server sockets implementation - process are now managed by subprocess for updating GUI - removed extraneous code from CLI related to sockets implementation/jobs mgmt
fix import / styling
- expand first model by default
- styling
Updated comments, removed commented out code
On the fly generation of docs (User Guide, API References, Examples, etc.)
talonchandler
left a comment
There was a problem hiding this comment.
First look comments:
- Looking good! I think the major infrastructure pieces are present here which is great.
- I would suggest changing the base branch from
maintogui_update(within github is fine...no need to work through a rebase imo). As is this PR includes changes from both branchs, e.g.jobs_mgmt.pybelongs to the other PR. This will help focus @srivarra's attention. - No need for a duplicate
poincare_swing.svg, correct?
|
Just approved and merged |
Thanks for the comments
|
If they're still |
srivarra
left a comment
There was a problem hiding this comment.
This is a super great start. Just a few corner cases, and tiny things here and there!
- deduplication - fixed rebasing
Thanks @srivarra for the detailed feedback. This will be super useful for Friday's meeting. I'm not replying to each comment (for now) since we will be discussing this but from my understanding most are related to current limitations of the renderer/formatting, hotlinking video files, etc. One roadblock I'm facing is the .md links within a .md files do not convert to .html when the html page is being generated causing linking between files an issue unless the .md links are changed to .html. However, in that case they wouldn't work on github. I have tried looking for a solution but could not find something clean. |
talonchandler
left a comment
There was a problem hiding this comment.
One roadblock I'm facing is the .md links within a .md files do not convert to .html when the html page is being generated causing linking between files an issue unless the .md links are changed to .html. However, in that case they wouldn't work on github. I have tried looking for a solution but could not find something clean.
Thanks for flagging this @amitabhverma. I think this feature is important, because as is many of the links are broken in the guides. e.g. see the links on this page:
https://waveorder.readthedocs.io/en/latest/guide.html
I've implemented a potential fix in #469.
My requests after this round of review are:
- make sure the links work in the guides in both github and the docs website (I think my PR fixes this)
- remove duplicate dependencies, ideally with a single source of truth
- remove or fix the execution times script
- were you able to successfully render a jupyter notebook-style page similar to the iohub examples like we discussed on Friday? No need to make major modifications to the notebook itself...I'm mostly looking for proof of concept.
Thank you @amitabhverma.
- converts in-page .md links to .html (works for all cases except where .md file is being included in a .rst) - .md files links fixed - implemented [docs] flag in pyproject.toml instead of a separate dependencies list in requirements.txt which is now removed - disabled building of computation time file (sq_execution_times.rst) which would report time as 0, possibly due to napari dependency which cannot run headless for the examples
@talonchandler The #469 related conversation, let's follow up there since we agree that a landing page fix is essential. @srivarra @talonchandler Update: #464 needs attention before merge. |
My fault I made another error...I didn't see that the headlines were being rendered correctly in the .html. Great! All good here. I just followed up on #469 with a video showing a broken link. I agree #464 could be fixed here. All else looks good. Thanks @amitabhverma. |
- restructured docs: landing page for /docs with guide pages under /guide - fixes .md links post build via a run job - copies github .mp4 video to RTD for hosting as part of the post build run job
https://waveorder.readthedocs.io/en/latest/index.html has the latest version for review. |
|
This is great @amitabhverma! Thanks for all of this. Your solution for video files is working well in my tests thanks. Minor request: if you can turn off the ads on the docs website, please do so. If you need payment details, please let me know and we will start the process. I'll approve and you can feel free to merge. |
Thanks @talonchandler I'll request @srivarra for a re-review just to make sure he is up to speed on the recent changes. Regarding turning off the ads on RTD, it would be best if this is done at @mattersoflight level. I believe as Gold member it should then apply to all the repos/projects under / |
- fixes other types of github vid links for vid copy/link replacement
srivarra
left a comment
There was a problem hiding this comment.
I think this looks great!
On the fly generation of docs (User Guide, API References, Examples, etc.) using sphinx and readthedocs integration.
A preview can be viewed here: https://waveorder.readthedocs.io/en/latest/index.html
Further customization is possible as required. Some restructuring of the docs files within the repo (guides, examples, etc.) would benefit users.