-
Notifications
You must be signed in to change notification settings - Fork 176
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
Macro: Provide save/open ket and molv3000 ketcher API for macromolecules #3531
Comments
rrodionov91
changed the title
Macro: provide ketcher API for macromolecules
Macro: Provide ketcher API for macromolecules
Nov 2, 2023
rrodionov91
modified the milestones:
Macromolecules Milestone 2,
Macromolecules Milestone 3
Nov 2, 2023
rrodionov91
changed the title
Macro: Provide ketcher API for macromolecules
Macro: Provide save/open ket and molv3000 ketcher API for macromolecules
Nov 10, 2023
Nitvex
added a commit
that referenced
this issue
Nov 24, 2023
Nitvex
added a commit
that referenced
this issue
Nov 30, 2023
Nitvex
added a commit
that referenced
this issue
Nov 30, 2023
9 tasks
Nitvex
added a commit
that referenced
this issue
Dec 4, 2023
Nitvex
added a commit
that referenced
this issue
Dec 4, 2023
Manual tests added to automation table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
It needs to have an ability to save/open ket and molv3000 files through ketcher API. It should be available in global "ketcher" variable similar as for micromolecules.
The following API methods should be changed/implemented:
getKet
for MacromoleculesgetMol
for MacromoleculessetMolecule
for MacromoleculesaddFragment
for Macromoleculeslayout
should throw an Error 'layout is not available' in macro moderecognize
should throw an Error 'recognize is not available' in macro modegenerateImage
should work with macromolecules; Most likely, output will be different from molecules drawn in KetchersetSettings
– when executed does nothing, as there are no settings for macro mode yet (may affect preview for monomers)containsReaction
– no actual changes in functionality; returnstrue
if structure has a reaction in micro modegetSmiles
,getCdx
, ... and other formats, exceptgetKet
andgetMolfile
– throw ErrorThe text was updated successfully, but these errors were encountered: