Peter Suter

Results 31 comments of Peter Suter

Python version 3.10 gives a different error: ``` C:\Python310\lib\site-packages\mitsuba\__init__.pyi:9256: error: unmatched ')' Found 1 error in 1 file (errors prevented further checking) ``` That line: ``` def , has_vertex_normals: bool...

(Maybe related: https://github.com/bitprophet/alabaster/issues/176)

Adding the following to `_static/custom.css` seems to be short-term fix for now: ``` dl.py { margin-bottom: 15px; } ``` Thanks for the suggestion.

This is still a problem in Sphinx 3.1.1 / Alabaster 0.7.12

This bug is also a problem with filenames like `μ.nii` or `ä.nii`. ``` >>> import SimpleITK as sitk >>> import pathlib >>> pathlib.Path("C:\μ.nii").exists() True >>> sitk.ReadImage("C:\μ.nii") HDF5-DIAG: Error detected in...

Thanks, I appreciate all the replies. :heart: > `dcmread('x.dcm')` never returns Perhaps this was confusing: I meant "never returns" as in "it keeps running forever" as in "too long" as...

I see, thanks. In this specific case there is nothing after the pixel data. Based on your comments I managed to load the file using this crude function: ``` def...

Can pydicom somehow "continue" / finish after `dcmread(filename, stop_before_pixels=True)`? Or would a new `dcmread(filename, stop_before_pixels=False)` from scratch be required? (The workaround is not required for other implementations / vendors.)

I see, thanks. (An API like `dcmread(fp, continue_from=dataset)` or `dataset.finish_reading(fp)` would _in theory_ be possible right?)

It's easy to do, but too much code? Everyone should script it, but doing it right once from the beginning is not worth it? :(