Closed msehabibur closed 7 months ago
@msehabibur It's not possible to see what the issue is from your code snippet. Can you post a fuller example that includes any previous references to the variable defect_system
?
concentration_dict
is a method, not an attribute, but the code above shouldn't give an AtttibuteError
if defect_system
is a DefectSystem
object.
@msehabibur how do you create and then reference the defect_system
variable?
Could you confirm the version of py_sc_fermi
you are using? For versions earlier than 2.0.0 the concentration_dict()
method functionality is found under DefectSystem.as_dict()
I just updated the version, and the problem is solved! Thank you!
Completed
When I try to plot the concentration as a function of T, it shows the 'DefectSystem' object has no attribute 'concentration_dict'.