Unknown expected types for SVGFigure parametersSee original GitHub issue
The recently released 0.3.2 has resulted in the following (truncated) traceback:
File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/viz/utils.py", line 360, in compose_view fig = SVGFigure(width, heights[:nsvgs].sum()) File "/usr/local/miniconda/lib/python3.7/site-packages/svgutils/transform.py", line 242, in __init__ self._width = width.value AttributeError: 'numpy.int64' object has no attribute 'value'
Looking at the docs for SVGFigure, a numeric value seems appropriate. I’m not sure what sort of object with a
.value attribute is expected to fix our invocation, so currently I’m pinning 0.3.1.
Issue introduced in #27.
- Created 3 years ago
- Comments:5 (2 by maintainers)