Commit b809c77
committed
fix: print install hint when no suitable ImageWriter found
When resolve_writer() fails to find a backend for a given file extension,
the error was generic. Added a format-to-package lookup that appends
an install hint (e.g. pip install nibabel) for common formats.
Fixes #7980
Signed-off-by: yashnaiduu <yashnaiduu@users.noreply.github.com>1 parent 1e3d29b commit b809c77
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
| |||
0 commit comments