stsouko / marvin_dash Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello!
I would like to make an app, that looks like this.
And I want to get data from Marvin not via upload button ⬆️ (that's in the Marvin window), but I'd like to make my own button and trigger callback that get data from Marvin and do some predictions.
I see that I have to press ⬆️ button to load data from Marvin to download
attribute, but can I somehow automatically write data from Marvin to download
attribute on update of Marvin window?
I'd like to be able to import a molecule via a SMILES string, but that requires that MarvinJS be connected with the appropriate webservice. Is there a way to enable this here? To be able to paste in SMILES (or SMARTS) via the import option?
Hello!
I'm using macOS 10.15.7
npm: '7.13.0',
node: '16.2.0'
pip: 20.3.1
run of npm install
gives me the following error:
> [email protected] prepublish
> npm run validate-init
> [email protected] validate-init /Users/nikita/tmp/marvin_dash
> python _validate_init.py
Traceback (most recent call last):
File "_validate_init.py", line 14, in <module>
components_lib = importlib.import_module(components_package)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/nikita/tmp/marvin_dash/dash_marvinjs/__init__.py", line 10, in <module>
from ._imports_ import *
File "/Users/nikita/tmp/marvin_dash/dash_marvinjs/_imports_.py", line 1, in <module>
from .DashMarvinJS import DashMarvinJS
ModuleNotFoundError: No module named 'dash_marvinjs.DashMarvinJS'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] validate-init: `python _validate_init.py`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] validate-init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nikita/.npm/_logs/2021-06-01T14_56_41_782Z-debug.log
npm ERR! code 1
npm ERR! path /Users/nikita/tmp/marvin_dash
npm ERR! command failed
npm ERR! command sh -c npm run validate-init
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nikita/.npm/_logs/2021-06-01T14_56_41_818Z-debug.log
Page on PyPI really lacks info on how to use your module
https://pypi.org/project/dash_marvinjs/
Secondly, I don't quite understand, how to use your module from this section https://github.com/stsouko/marvin_dash#install-from-pypi
Could you give a bit more detail there?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.