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

rxn files not loading properly #310

Open
mukunthv opened this issue Jun 23, 2023 · 7 comments
Open

rxn files not loading properly #310

mukunthv opened this issue Jun 23, 2023 · 7 comments

Comments

@mukunthv
Copy link

Hi, We are trying to load rxn (reaction files) and v3000 files via the chem composer. the file is loading but the molecules are pushed to bottom left corner and garbled. do you now what could be the reason

@partridgejiang
Copy link
Owner

Hi @mukunthv, some rxn files do not contains the explicit coordinates of reactants and products, so the molecule positions are garbled when loading. I have made a small demo to manually rearrange the molecules, please check the attachment here. Bythe way, do replace URL of the <script> and <link> tags importing Kekule.js and widget theme.

rxnLoader.zip

@mukunthv
Copy link
Author

mukunthv commented Jun 29, 2023 via email

@partridgejiang
Copy link
Owner

In my impression, the I/O of ChemDraw cdx format is not an easy job. The format is quite flexible and complex for embedding different types of objects other than molecule. Moreover, there is little documents about this commecial data format. To fully support cdx on front-end may require a lot of work. Perhaps a more suitable approach is to parse it on the server side? There seems exist some back-end libs for cdx.

@mukunthv
Copy link
Author

mukunthv commented Jul 19, 2023 via email

@partridgejiang
Copy link
Owner

Sure. Do contact me if needed in your work, :).

@mukunthv
Copy link
Author

mukunthv commented Aug 9, 2023 via email

@partridgejiang
Copy link
Owner

Hi @mukunthv,could you provide more details and demands of the Stoichiometric Calculation Table? By the way, you may contact me direct through email [email protected] for a more timely response, :).

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

No branches or pull requests

2 participants