Comments (2)
I took a quick look and it looks like somewhere between ase version 3.12.0b1 (the one I happen to have in my workstation) and the current version, they changed the signature for ase.gui.view.View from
def __init__(self, vbox, rotations):
to
def __init__(self, rotations):
Sadly, I am not familiar with how this class works on ase and/or the significance of the vbox parameter for kmos. If you need to use the viewer as soon as possible, I would recommend reverting to and older ase version for now.
An alternative quick hack that could work, but is definitely not guarranteed to is to change
View.__init__(self, self.vbox, rotations)
to
View.__init__(self, rotations)
.
If you test this and works, you could then wrap this line in a try-except block, that calls the function without the vbox arguments in case of an exception.
However, I doubt this will work. I guess @mhoffman should be able to come up with an estimate on how difficult implementing support for this newer ase version would be.
Hope this helps,
Juan
from kmos.
Thank you for your suggestion, I will try as you said and response to you as soon as possible.
Have a nice day,
DING Haoran
from kmos.
Related Issues (20)
- my first kMC model-name.offset.lattice HOT 4
- no reasult like expected---firstmodel HOT 1
- Error: 'Meta' object has no attribute 'model_dimension' HOT 4
- run the example of "AB_model.py" HOT 5
- Segmentation fault on import of pygoocanvas module HOT 3
- Lattice Angles and Periodic Boundaries HOT 2
- Problem using model dimension of 1 in lat_int HOT 5
- error while running kmos view
- JANAF
- example model of 'render_Pt_111'
- Monitoring the diffusion path of an adatom HOT 3
- Errors on the debug mode
- Newer numpy (f2py?) produces strange errors HOT 3
- No command 'kmos' found HOT 1
- TypeError when running kmos view HOT 2
- Example render_pairwise_interaction_otf does not work!
- Fortran runtime error: Array size of PUT is too small HOT 2
- thin film with surface reactions
- Problem with installation 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 kmos.