Skip to content
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

Run tests on linux, mac, and windows #9

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

kuelumbus
Copy link
Collaborator

No description provided.

@kuelumbus kuelumbus linked an issue Aug 21, 2023 that may be closed by this pull request
@kuelumbus
Copy link
Collaborator Author

@jdkern11 I don't have a Mac system. Can you please run this on your Mac and post the screenshot here? I can compare the output with the Linux output. This might actually be an issue with RDKit and not this package.

import logging
from psmiles.psmiles import PolymerSmiles as PS
from rdkit.Chem.Draw import IPythonConsole

IPythonConsole.drawOptions.addAtomIndices = True
IPythonConsole.drawOptions.addBondIndices = False
IPythonConsole.drawOptions.minFontSize = 16
IPythonConsole.molSize = (600, 200)  # Change image size
IPythonConsole.ipython_useSVG = True  # Change output to SVG

logging.getLogger().setLevel(logging.DEBUG)

ps = PS("[*]CC(=O)c5cc(C(=O)Oc1c(Br)cc2c(c1Br)C24OC(=C)c3c(Br)c(O[*])c(Br)cc34)cc(C(C)(C)C)c5")
a = ps.canonicalize
a

@jdkern11
Copy link
Contributor

jdkern11 commented Aug 30, 2023

@kuelumbus

Screenshot 2023-08-30 at 7 13 21 AM Screenshot 2023-08-30 at 7 13 33 AM Screenshot 2023-08-30 at 7 13 44 AM Screenshot 2023-08-30 at 7 13 53 AM Screenshot 2023-08-30 at 7 14 02 AM Screenshot 2023-08-30 at 7 14 12 AM Screenshot 2023-08-30 at 7 14 19 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different operating systems result in differnet psmiles
2 participants