Chris Markiewicz
Chris Markiewicz
Sorry, you caught me just as I was heading off on vacation, and following up with nibabel has been low on my queue since getting back. Merging `master` and running...
What version of nibabel is installed?
Alright. Do you have a reproduction, including pylance invocation? I've never used the tool, so any help in getting started would be appreciated.
I would ask the pylance developers how to reproduce this more directly. vscode is too complex to be a useful reproduction.
The design reason is that nibabel is old and comes from the consenting adults phase of Python, and people will depend on any unintentional behavior of `import nibabel as nib`,...
Given that this is just a way to satisfy a type checker, I would suggest that a PR add an `__init__.pyi`. That should make pylance happy without any risk of...
I think I may be thinking about this differently. The goal of an affine is to accurately describe the orientation of an image as a vector space, and the axis...
Yes, please! If at all possible, it would be great to add a test file so we can be sure that we don't break things in the future.
Alternately: ```py _hdr_key_dict = {key.lower(): val for key, val in _hdr_key_dict.items()} [...] props = _hdr_key_dict[key.lower()] ```
Looked very briefly. Apologies if this is a dumb question, but isn't `TermURL` designed for this?