Comments (6)
The main python REPL loop runs in the same thread as the widgets event loop. This means that widgets don't work while you're executing code, even if it's sleeping.
The default "widget-ey" way to address this is to move more logic to javascript, which can respond to button presses right away. That's limited, though, and means more duplicated info between kernels.
References:
See also:
jupyter-widgets/ipywidgets#349
jupyter-widgets/ipywidgets#642
from molecular-design-toolkit.
Moving this up in priority; it turns out to be confusing, even for me, when a command launches multiple cloud jobs - their statuses don't get updated until ipywidgets can get control of the python kernel.
from molecular-design-toolkit.
@avirshup Is there an easy place in the examples or tutorials where I can reproduce this?
from molecular-design-toolkit.
@justinmc - MDT example 1, in the mdt.assign_forcefield
line, is probably the easiest place to see it - none of the jobs will show as "finished" until they all are.
It will probably be a pretty big deal to fix this - probably, for the next sprint, we'll need to schedule some time just to investigate the problem.
from molecular-design-toolkit.
Ok got it, thanks. I'll keep this in mind as I'm exploring the python stuff for now.
from molecular-design-toolkit.
Closing for now as we re-think these interfaces. This would be nice, but I don't see it on our roadmap for now
from molecular-design-toolkit.
Related Issues (20)
- Tried to install in a jupyter docker container, failed HOT 5
- EPIC: Target workflows HOT 1
- GAFF is failing miserably with di-lignin from various formats HOT 1
- cannot import 'moldesign' after seems to be successful installation HOT 1
- Poor generated 3D structures
- Wrong bonding between residues surrounding missing ones HOT 1
- Most output formats destroy non-standard bond information HOT 1
- Wrong sidechain atoms returned from residue after copying
- Update version-pinned dependencies
- Molecule Visualization Error HOT 1
- QM/MM
- RuntimeError in python 2 - instantiating EnergyModels
- versioneer causes extraneous output in some docker containers
- Better interface compatibility with `concurrent.futures`
- IOErrors become OSErrors in Python 3
- Error creating new molecule
- Error building in mybinder HOT 4
- Protein Surface Visualization
- Error installing with pip HOT 3
- Codes about Molecular Visualization
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 molecular-design-toolkit.