Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Roberto Mosca
Yep, I just realized it. Thanks again, now I can use the two libraries together. :) Best regards, Roberto Roberto Mosca, Ph.D. *Interactome3D* - http://interactome3d.irbbarcelona.org Structural Bioinformatics and Network Biology Institute for Research in Biomedicine (IRB Barcelona) Parc Cient

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Rolf Huehne
On 09/30/2014 01:35 PM, Roberto Mosca wrote: > Dear Robert, > > thanks for your help! I tried the patched code in the zip that you included > but I get an error when I load the page: > > Uncaught TypeError: undefined is not a function (package.js:14) > > If I use an older version of JSmol I don't g

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-30 Thread Roberto Mosca
Dear Robert, thanks for your help! I tried the patched code in the zip that you included but I get an error when I load the page: Uncaught TypeError: undefined is not a function (package.js:14) If I use an older version of JSmol I don't get this error. Any idea? Thanks again a lot for your hel

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-29 Thread Robert Hanson
Thanks for alerting us, Roberto. Thanks for the clue, Rolf. JSmol was inappropriately creating the function Array.isArray(). This was a bug in the core Java2Script code. It is not relevant to Jmol and not advised in Java anyway. http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.09.29.zip Jmo

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-29 Thread Rolf Huehne
On 09/26/2014 11:44 AM, Roberto Mosca wrote: > Dear all, > > I am experiencing some very nasty problem when using a library for network > visualization called Cytoscape.js together with JSmol. I don't know if the > problem depends on Cytoscape.js or JSmol. When loading the two libraries > separatel

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-26 Thread Angel Herráez
Hello again > thanks for your reply. These pointers are indeed very useful. The > Java version actually works, That's a piece of information relevant towards diagnosing the problem. The Jmol object (java or html5) is inserted using the JSmol.min.js library, but in the case of JSmol/HTML5 addi

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-26 Thread Roberto Mosca
Dear Angel, thanks for your reply. These pointers are indeed very useful. The Java version actually works, even if I discovered, with some frustration, that the Java plugin does not work with current versions Chrome and Chromium in Linux... I was wondering if it is possible to load and use JSmol

Re: [Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-26 Thread Angel Herráez
Hola, Roberto That's going to be tricky to diagnose, I guess. I'd not give a solution or answer, but a couple of pointers: 1- Try loading JSmol in Java mode, to see if there is any difference. The Javascript library is the same, but the object generated has less javascript, so there may be a c

[Jmol-users] Nasty interaction between JSmol and Cytoscape.js

2014-09-26 Thread Roberto Mosca
Dear all, I am experiencing some very nasty problem when using a library for network visualization called Cytoscape.js together with JSmol. I don't know if the problem depends on Cytoscape.js or JSmol. When loading the two libraries separately they work perfectly, but loading them together generat