Module 'SCHAModules' has no attribute 'thermodynamic' #194
|
Dear SSCHA community, which was greatly influenced by the materials delivered at SSCHA school.. However, when I am running it, I am getting an error shown below: |
Replies: 4 comments 5 replies
|
There was an update in some related libraries that broke part of our code. We solved this in the last patch. You can reinstall SSCHA or use the solution of #184 |
|
Thank you for your help, I am getting an error: As far as I understand, it doesn't treat dyn as a dynamical matrix. Is it the fault of the data or my processing? |
|
Both .Symmetrize() and .ForcePositiveDefinite() transform instance of cellconstructor.Phonons.Phonons to NoneType. |
|
Both .Symmetrize() and .ForcePositiveDefinite() transform instance of
cellconstructor.Phonons.Phonons to NoneType.
Yes, they should be called on the dyn, as they do not return the object
itself.
So you must call then after you created the dyn in subsequent instructions:
```python
dyn=CC.Phonons.Phonons(...)
dyn.Symmetrize()
dyn.ForcePositiveDefinite()
```
Symmetrize and ForcePositiveDefinite modify inplace the dyn object, without
returning anything.
|
There was an update in some related libraries that broke part of our code. We solved this in the last patch. You can reinstall SSCHA or use the solution of #184