-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
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
Flexicanvas cuts off bottom of reaction #6685
Comments
Hi David, I'm guessing that the clipping is not related to the svg issue in the orig. discussion based on the following. I've seen a number of cases where the image is clipped. usually on the left or right, but sometimes on the top/bottom as you observed. These clipping cases can be "fixed" by increasing the 'padding' parameter in draw options. However, no value of the padding parameter seems to be able to fix the negative widths in the SVG. |
I think you’re right, now I’ve fixed it, but we can always hope! I’ll look at the other one early next week. It’s clearly a bug- whatever is going on, it should never produce negative values for width and height. |
|
@DavidACosgrove : I see your fixes were merged yesterday. Thanks for your help with this. I can further test and provide feedback whenever the next rdkit-dev becomes avaialble. Thanks again! |
Drawing a reaction in a flexicanvas cuts off the bottom of the image:
To Reproduce
Expected behavior
I would have hoped to have seen the bottom of the piperidine.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration (please complete the following information):
Additional context
This is a simpler version of the display of the reaction @paconius is using in #6683. This may or may not be the same bug, but clearly needs fixing. Looking into it now.
The text was updated successfully, but these errors were encountered: