We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I run into the following error when I want to concatenate a bunch of svg files as follows
svg_stack.py --direction=v --margin=100 Figure\ S1.svg Figure\ S2.svg Figure\ S3.svg Figure\ S4.svg Figure\ S5.svg Figure\ S6.svg Figure\ S7.svg Figure\ S8.svg Figure\ S9.svg Figure\ S10.svg Figure\ S11.svg Figure\ S12.svg Figure\ S13.svg Figure\ S14 Figure\ S15.svg Figure\ S16 > Figures_SI.svg Traceback (most recent call last): File "/home/.conda/envs/svg/bin/svg_stack.py", line 713, in main() File "/home/.conda/envs/svg/bin/svg_stack.py", line 706, in main layout.addSVG(fname,alignment=AlignCenter) File "/home/janssetk/.conda/envs/svg/bin/svg_stack.py", line 632, in addSVG svg_file = SVGFile(svg_file) File "/home/.conda/envs/svg/bin/svg_stack.py", line 181, in init height, height_units = get_unit_attr(self._root.get('height')) File "/home/.conda/envs/svg/bin/svg_stack.py", line 44, in get_unit_attr if value.endswith(unit_name): AttributeError: 'NoneType' object has no attribute 'endswith'
The text was updated successfully, but these errors were encountered:
(Apologies for my delay.)
I think this may have been fixed by #14. Can you check this by running on the current main branch?
Sorry, something went wrong.
No branches or pull requests
Hi,
I run into the following error when I want to concatenate a bunch of svg files as follows
svg_stack.py --direction=v --margin=100 Figure\ S1.svg Figure\ S2.svg Figure\ S3.svg Figure\ S4.svg Figure\ S5.svg Figure\ S6.svg Figure\ S7.svg Figure\ S8.svg Figure\ S9.svg Figure\ S10.svg Figure\ S11.svg Figure\ S12.svg Figure\ S13.svg Figure\ S14 Figure\ S15.svg Figure\ S16 > Figures_SI.svg
Traceback (most recent call last):
File "/home/.conda/envs/svg/bin/svg_stack.py", line 713, in
main()
File "/home/.conda/envs/svg/bin/svg_stack.py", line 706, in main
layout.addSVG(fname,alignment=AlignCenter)
File "/home/janssetk/.conda/envs/svg/bin/svg_stack.py", line 632, in addSVG
svg_file = SVGFile(svg_file)
File "/home/.conda/envs/svg/bin/svg_stack.py", line 181, in init
height, height_units = get_unit_attr(self._root.get('height'))
File "/home/.conda/envs/svg/bin/svg_stack.py", line 44, in get_unit_attr
if value.endswith(unit_name):
AttributeError: 'NoneType' object has no attribute 'endswith'
The text was updated successfully, but these errors were encountered: