ME-ICA / tedana

TE-dependent analysis of multi-echo fMRI
https://tedana.readthedocs.io
GNU Lesser General Public License v2.1
158 stars 94 forks source link

Elegantly handle missing images in HTML report #1084

Open tsalo opened 2 months ago

tsalo commented 2 months ago

Summary

Some figures won't be generated, depending on the settings. For example, in the 4-echo manual selection, we won't have T2* or S0 figures:

Screenshot 2024-04-19 at 9 59 06 AM

Next Steps

  1. Replace string.Template HTML templating with Jinja2.
tsalo commented 2 months ago

By the way, Jinja2 is a dependency of bokeh, so we already require it implicitly.