Closed stabilowl closed 6 years ago
It sounds like a compatibility issue with the atomic simulation environment (ase). kmos is not yet compatible with the newest version, so try installing an older ase version. For me version 3.8 works.
Thanks! That looked like it fixed the issue. Thanks for the quick reply
When trying to visualize model with kmos view, a TypeError related to View._ init _() is returned. Seems to occur in the view.py file.
Expected behavior
Display the model
Actual behavior
Traceback (most recent call last): File "/home/williaml/.local/bin/kmos", line 21, in
main()
File "/home/williaml/.local/lib/python2.7/site-packages/kmos/cli.py", line 426, in main
view.main(steps_per_frame=options.steps_per_frame)
File "/home/williaml/.local/lib/python2.7/site-packages/kmos/view.py", line 452, in main
viewer = KMC_Viewer(model, steps_per_frame=steps_perframe)
File "/home/williaml/.local/lib/python2.7/site-packages/kmos/view.py", line 398, in init
self.vbox, self.window)
File "/home/williaml/.local/lib/python2.7/site-packages/kmos/view.py", line 174, in init
View. init (self, self.vbox, rotations)
TypeError: init _() takes exactly 2 arguments (3 given)
Steps to reproduce the issue
System information
kmos version
, operating system, version, python version, possibly link to model file kmos version 0.3.9 ubuntu 16.04 LTS Python 2.7.12