User 249192efae
18-06-2014 23:25:28
While preparing to upgrade to the latest Marvin JS, I found that a Molfile that works in 6.1.3 doesn't work in the latest 6.3.1.
If you go to our http://chem.sis.nlm.nih.gov/chemidplus/ and click the Draw button to open Marvin for JavaScript 6.1.3 and then import the contents of the attached .mol file, it opens fine.
However, if I go to https://marvinjs-demo.chemaxon.com/latest/editor.html (running Marvin JS 6.3.1) and do the same, I get the error "Molecule import failed: Could not import as MDL Molfile"
Should that molfile still be able to open and display in Marvin JS?
Thanks!
-Michael
User 249192efae
19-06-2014 03:24:50
I found that none of my molfiles were working in 6.3.1.
Seeing import changes in 6.3, I tried 6.2.3 and again had errors with loading structures from mol files.
Seeing other import changes in 6.2.1, I then tried 6.2.0 and it worked. Structures displayed again, and I could import the file I'd attached to the prior post. Just to be sure, I pulled down 6.2.1 and tried to import that same file I'd attached, but got the error.
So it appears that something in the import changes in 6.2.1 prevent me from importing mol files that work in 6.2.0.
Comparing the molfile to the export, we see fewer 0s. It seems that as of 6.2.1, Marvin4js no longer interprets "missing" 0s as 0s. That will prevent us from upgrading past 6.2 as it seems that the software we use to process the mol files does not include all the 0s.
ChemAxon f052bdfe3c
19-06-2014 15:35:56
It looks like a bug in our side. I put it into our issue tracking system, and we try to fix it ASAP.
However, we found that you can simple paste these files into the canvas; and because the pasting uses webservice it will work. Please try it out on our example page.
Best Regards,
Efi
User 249192efae
19-06-2014 15:59:42
Wonderful - thanks for looking into it!
Also, thanks for the suggestion for pasting into the canvas. Unfortunately the more normal use case for us is that users find an existing structure in our app and then transfer it to the search screen, so our app loads the molfile from our database via json xhr and then calls importAsMol(s) or would call the new importStructure('mol',s)
User ef116998c3
04-07-2014 10:34:51
Hi,
Can you say when the new marvin js release will be available and will it include a patch for this molfile import issue?
Best regards
Mark Davies
ChemAxon 996dedebe0
07-07-2014 09:44:05
Hello,
the new release, which contains the fix will be out this week (planned for tomorrow).
Regards,
Janos
User ef116998c3
15-07-2014 12:52:06
Hi
I believe this issue is still occurring when using version 14.7.14.2. Please find attached a molfile which fails to import into Marvin JS
Thanks,
Mark
ChemAxon f052bdfe3c
17-07-2014 15:26:43
Hi Mark,
We are investigating this issue. Thank you for reporting.
Best Regards,
Efi
User 62fb2a4669
11-12-2014 07:14:08
Hi
I am using MarvinJs for our application. we are trying to upload .rxn file, but it is showing error like;
"
Molecule import failed:Request has not been sent.
The browser may block the request if it violates the same origin policy.
HTTP ERROR:
Status code:0
Status text:"
Can you please help me regarding the same.I am using marvinnJs
Version 14.12.1
Thanks in advance.
Regards
Ranjith
ChemAxon 76c88f5366
11-12-2014 14:00:25