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: |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
|
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? |
Beta Was this translation helpful? Give feedback.
-
|
Both .Symmetrize() and .ForcePositiveDefinite() transform instance of cellconstructor.Phonons.Phonons to NoneType. |
Beta Was this translation helpful? Give feedback.
-
|
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.
|
Beta Was this translation helpful? Give feedback.
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