nipreps / sdcflows

Susceptibility Distortion Correction (SDC) workflows for EPI MR schemes
https://www.nipreps.org/sdcflows
Apache License 2.0
32 stars 26 forks source link

FIX: Documentation was not building because of warnings issued from nbsphinx's output #427

Closed oesteban closed 10 months ago

oesteban commented 10 months ago

The new notebook has some latex insets, and I believe pandoc is generating empty environments for them, which translate into warnings assumed as errors.

It is the only difference I could think of between the environment in CircleCI and the testing environment I've created on my workstation.

EDIT: the problem was the conversion of the output of the cell that pulls one template from templateflow. Indeed, a raw directive is issued but I think the output is not correctly formatted in the intermediate RST.

This PR downloads the necessary template before running the notebook.

Resolves: #414.