Closed lrlunin closed 1 day ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
2250 | 0 :zzz: | 0 :x: | 0 :fire: | 2m 4s :stopwatch: |
:file_folder: Download as zip :mag: View online
good idea to make the use of T_1 consistent in the examples -- but in all equations it should be $T_1$.
good idea to make the use of T_1 consistent in the examples -- but in all equations it should be
$T_1$.
Okay, I'll replace the notation in all examples then.
I also added subscript notations for the graphs. Should be ready to merge so far.
maybe not change the title of the notebooks because these titles are used in the docu as doctree entries which does not support latex formatting.
maybe not change the title of the notebooks because these titles are used in the docu as doctree entries which does not support latex formatting.
They actually kinda do, but not on the top level. I guess there is some option to force the TeX display mode. In the above level:
If you check on of the examples.
So I believe there is some page-specific display-/parse-mode which was automatically enabled in the page with the markdown notebook and was not enabled in the examples' table of content. I'll check if there is some magic hint to force the page be displayed as markdown.
I found a much better solution. With the nbsphinx
all works as expected and all converting, running, including as html in the docs.yml
can removed. I'll make a commit till monday I guess.
I found a much better solution. With the
nbsphinx
all works as expected and all converting, running, including as html in thedocs.yml
can removed. I'll make a commit till monday I guess.
They way it is know allows for all the notebooks to be run in parallel. Maybe nbspinx offers this now too?
I found a much better solution. With the
nbsphinx
all works as expected and all converting, running, including as html in thedocs.yml
can removed. I'll make a commit till monday I guess.They way it is know allows for all the notebooks to be run in parallel. Maybe nbspinx offers this now too?
They promise to allow threads with -j
parameter analog to make
parameter.
Btw: We will still need a conversion from py to ipynb & commit, as we want to keep the notebooks available in the repo as well.
I found a much better solution. With the
nbsphinx
all works as expected and all converting, running, including as html in thedocs.yml
can removed. I'll make a commit till monday I guess.They way it is know allows for all the notebooks to be run in parallel. Maybe nbspinx offers this now too?
They promise to allow threads with
-j
parameter analog tomake
parameter.
This seems not to be true. The execution of the notebooks is indeed not parallel and lasts approx. 3 minutes on my pc. Then it would be more reasanoble to perform the step with the .py
-> .ipynb
conversion and further .ipynb
evaluation in the action. Then copy and include the evaluated notebooks into the docs with the nbsphinx_execute = 'never'
setting in the conf.py
.
My 2cents: Sphinx -j option is not the same as parallel jobs. Both download speed for the example data and CPU should be exhausted by a single example. The parallel jobs run afaik on separate worker machines.
On your local machine at home, the total time might be dominated by the data download..
This is done so far and awaits https://github.com/PTB-MR/mrpro/pull/469 to pass the github action since pandoc
is missing
For me, the requirement of a non-pip binary is a blocker here. Does the switch to nbshinx really have such advantages that it is worth the hassle?
Can you maybe first fix the issues with the notebooks you noticed (and maybe also change the code to s instead of ms, this would fix and there open issue #462).
And then we can push the overhaul of the action a bit into the future and talk about it and the advantages your approach has first.
Try pypandoc-binary
Do I understand this correctly that remote builds still use papermill to execute (potentially giving us a way to include non public data), but local builds also work and execute the notebooks using nbshinx?
I would add the pandoc binaries as a requirement instead of apt to the docker. this way building just works after a pip install locally.
Still, consider splitting this in two parts:
consider adding yourself to the pyproject.toml author list
The T1 mapping using radial golden angle data does not lead to good results anymore.
The other two quantitative notebooks also don't work anymore..
-> wait for #535 to fix this
add yourself to the author list in pyproject.toml
I don't consider the changes done to worth it. They are primary cosmetic.
minor nitpick: in the plots, add a unit to the colorbars for T1 and T2*
TBD
Of course your decison. I'd say it would be justified. You can also do it in any future pr if you want to.
@lrlunin: Small hint for next time: Please use imperative mood and a bit more descriptive name for the commit ;)
Fix issues caused by the switch to SI units. Use new qmri challenge dataset Use latex in notebooks
Closes #459 Closes #462