Dženan Zukić
Dženan Zukić
While looking into this, I uncovered https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/pull/401.
I believe that ITK uses IJK and numpy KJI, not the other way around.
Take a look at https://github.com/InsightSoftwareConsortium/ITK/blob/231ecb7d3dbbb11bc0c60f54a782a4d30f8ec4e2/Wrapping/Generators/Python/Tests/readWriteVLV.py, or even at https://github.com/InsightSoftwareConsortium/ITK/blob/0e84a057ec742bef99b3c42c0802fb0974fe39dc/Modules/Core/Common/wrapping/test/itkVariableLengthVectorTest.py.
Another example to possibly reference is https://github.com/OpenImaging/demos/tree/master/ProcessImageChunks
I don't think the inconsistency is intentional. Those examples were contributed by various people, so inconsistency arises naturally. Fixing it would be good.
Is there an already existing example of how a Jupyter notebook looks like when rendered in sphinx examples?
I guess you can follow the example of https://github.com/InsightSoftwareConsortium/ITK/pull/2608, and use 120 character lines.
> toml config file be added Sounds easy enough 😄
Examples (which go into the software guide) have a different, lower line length limit: https://github.com/InsightSoftwareConsortium/ITK/blob/master/Examples/.clang-format#L75
Are you using self-built wrappings from master? Or pre-compiled, pip-installed wheels of version 5.2? Edit: I wrote the question after reading the first paragraph 😞