Comments (5)
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.
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.
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.
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.
Off-topic: have you seen my issue with Synthemol? Appreciate if you could have alook.
Thanks/Evert
from admet_ai.
Related Issues (11)
- Hepatocyte clearance negative HOT 1
- Depreciation warning: please use MorganGenerator HOT 3
- Passing Mol object HOT 4
- FileNotFoundError: [Errno 2] No such file or directory: '/home/xuhu/project/admet_ai/admet_ai/resources/data/reference_no_kd_ic50.csv' HOT 3
- Internal Server Error HOT 8
- How can I change the port for the web server? HOT 4
- How to bypass max 1000 molecules on local install HOT 2
- _train_tdc_admet_group missing
- Reindexing only valid with uniquely valued Index objects HOT 2
- relax `requirements.txt`? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admet_ai.