Giter VIP home page Giter VIP logo

Comments (5)

swansonk14 avatar swansonk14 commented on September 28, 2024

Hi Evert,

Thanks for bringing up this issue! I see the molecule sketcher on my local version, so I'm not entirely sure what's going on. The molecule sketcher is the JSME sketcher. I copied their code into this directory: https://github.com/swansonk14/admet_ai/tree/main/admet_ai/web/app/static/jsme. Can you check that you have this directory in your local installation?

If you do have the JSME files locally, can you check your web browser console to see if there are any errors related to loading JSME?

Best,
Kyle

from admet_ai.

Evert-Homan avatar Evert-Homan commented on September 28, 2024

Hi Kyle,

Looks like all the files are in place, but the Chrome console gives the following when starting the web app and then clicking on the 'Draw Molecule' button:

GET http://mjolnir.scilifelab.se:5001/static/jsme/jsme/jsme.nocache.js net::ERR_ABORTED 404 (NOT FOUND) predict.js:28 Uncaught ReferenceError: jsmeApplet is not defined at resizeJSME (predict.js:28:9) at HTMLLabelElement.<anonymous> (predict.js:59:9) at HTMLLabelElement.dispatch (jquery.min.js:2:41772) at y.handle (jquery.min.js:2:39791)

Best/Evert

from admet_ai.

swansonk14 avatar swansonk14 commented on September 28, 2024

Hi Evert,

Thanks for sharing the error message! I dug deeper into the JSME code and it looks like it included a .gitignore file that was stopping git from uploading some of the necessary JSME files. I removed the .gitignore and pushed the relevant files. Can you try pulling the latest code and let me know if it works now?

Thanks,
Kyle

from admet_ai.

Evert-Homan avatar Evert-Homan commented on September 28, 2024

Hi again,

I can confirm that the sketcher now works on my local install, after updating to the latest version. Many thanks, now I can roll this out internally.

BW/Evert

from admet_ai.

Evert-Homan avatar Evert-Homan commented on September 28, 2024

Off-topic: have you seen my issue with Synthemol? Appreciate if you could have alook.

Thanks/Evert

from admet_ai.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.